From: Joseph Sutton Date: Mon, 11 Apr 2022 01:15:23 +0000 (+1200) Subject: samba-tool tests: Remove unused variable X-Git-Tag: talloc-2.3.4~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332b874a1665c0f3003bacfb3a3b28d55677cf74;p=thirdparty%2Fsamba.git samba-tool tests: Remove unused variable Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/samba_tool/user.py b/python/samba/tests/samba_tool/user.py index 904a51353ca..0a1fbfeb82d 100644 --- a/python/samba/tests/samba_tool/user.py +++ b/python/samba/tests/samba_tool/user.py @@ -258,7 +258,6 @@ class UserCmdTestCase(SambaToolCmdTest): creds = credentials.Credentials() creds.set_anonymous() creds.set_password(newpasswd) - nthash = creds.get_nt_hash() unicodePwd = base64.b64encode(creds.get_nt_hash()).decode('utf8') virtualClearTextUTF8 = base64.b64encode(get_bytes(newpasswd)).decode('utf8') virtualClearTextUTF16 = base64.b64encode(get_string(newpasswd).encode('utf-16-le')).decode('utf8')