summaryrefslogtreecommitdiff
path: root/python/samba/samdb.py
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-05-05 21:32:13 +1200
committerAndreas Schneider <asn@cryptomilk.org>2022-05-10 05:19:34 +0000
commit455c083ec375a58a648021543ac51faca02bc0b6 (patch)
tree26cbaad2a3f0a9b3871a87607400b4cf8a7cf2cd /python/samba/samdb.py
parent139f00c3941f7dbbd646f878157e75aceeb445e0 (diff)
downloadsamba-455c083ec375a58a648021543ac51faca02bc0b6.tar.gz
python: Remove redundant assignments
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python/samba/samdb.py')
-rw-r--r--python/samba/samdb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/samba/samdb.py b/python/samba/samdb.py
index 5e4f07bb679..fa9036b2b7b 100644
--- a/python/samba/samdb.py
+++ b/python/samba/samdb.py
@@ -900,7 +900,6 @@ unicodePwd:: %s
user_dn = res[0].dn
userAccountControl = int(res[0]["userAccountControl"][0])
- accountExpires = int(res[0]["accountExpires"][0])
if no_expiry_req:
userAccountControl = userAccountControl | 0x10000
accountExpires = 0