From: Rob van der Linde Date: Mon, 12 Feb 2024 03:04:08 +0000 (+1300) Subject: netcmd: delegation: initial value not required because of raise below X-Git-Tag: tdb-1.4.11~1769 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d7ad27865974692cebdb5fef1e3a5134dfb92eb;p=thirdparty%2Fsamba.git netcmd: delegation: initial value not required because of raise below Signed-off-by: Rob van der Linde Reviewed-by: Andrew Bartlett Reviewed-by: Jo Sutton --- diff --git a/python/samba/netcmd/delegation.py b/python/samba/netcmd/delegation.py index 97f4be00d61..a7a48813932 100644 --- a/python/samba/netcmd/delegation.py +++ b/python/samba/netcmd/delegation.py @@ -207,7 +207,6 @@ class cmd_delegation_for_any_service(Command): def run(self, accountname, onoff, H=None, credopts=None, sambaopts=None, versionopts=None): - on = False if onoff == "on": on = True elif onoff == "off":