From 202be5994ef2fe7b79d14830468b1eac005938c3 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Sun, 28 Oct 2018 00:33:30 +1300 Subject: [PATCH 1/1] samba-tool spn: remove unused variables Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/netcmd/spn.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/samba/netcmd/spn.py b/python/samba/netcmd/spn.py index 62884a4ec09..f0069460e3e 100644 --- a/python/samba/netcmd/spn.py +++ b/python/samba/netcmd/spn.py @@ -58,8 +58,6 @@ class cmd_spn_list(Command): scope=ldb.SCOPE_SUBTREE, attrs=["servicePrincipalName"]) if len(res) > 0: spns = res[0].get("servicePrincipalName") - found = False - flag = ldb.FLAG_MOD_ADD if spns is not None: self.outf.write( "User %s has the following servicePrincipalName: \n" % -- 2.34.1