1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix PEP8 warning F841 local variable 'blah' is assigned to but never used

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Tim Beale
2018-07-27 12:38:55 +12:00
committed by Andrew Bartlett
parent 3a05054268
commit 30e6e04c4c
3 changed files with 9 additions and 10 deletions

View File

@ -842,7 +842,6 @@ unicodePwd:: %s
self.set_domain_pwdHistoryLength("0")
user = self.add_user("testuser")
initial_pwd = user.get_password()
self.assert_password_valid(user, "NewPwd12#")
# we can set the exact same password again because there's no history
self.assert_password_valid(user, "NewPwd12#")