mirror of
https://github.com/samba-team/samba.git
synced 2025-12-20 16:23:51 +03:00
python: Remove redundant assignments
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
139f00c394
commit
455c083ec3
@@ -733,7 +733,7 @@ class cmd_setlink(GPOCommand):
|
||||
|
||||
# Check if valid GPO DN
|
||||
try:
|
||||
msg = get_gpo_info(self.samdb, gpo=gpo)[0]
|
||||
get_gpo_info(self.samdb, gpo=gpo)[0]
|
||||
except Exception:
|
||||
raise CommandError("GPO '%s' does not exist" % gpo)
|
||||
gpo_dn = str(get_gpo_dn(self.samdb, gpo))
|
||||
|
||||
Reference in New Issue
Block a user