mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PEP8: fix E226: missing whitespace around arithmetic operator
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -234,7 +234,7 @@ class PyCredentialsTests(TestCase):
|
||||
newpass = samba.generate_random_password(PWD_LEN, PWD_LEN)
|
||||
encoded = newpass.encode('utf-16-le')
|
||||
pwd_len = len(encoded)
|
||||
filler = [ord(x) for x in os.urandom(DATA_LEN-pwd_len)]
|
||||
filler = [ord(x) for x in os.urandom(DATA_LEN - pwd_len)]
|
||||
pwd = netlogon.netr_CryptPassword()
|
||||
pwd.length = pwd_len
|
||||
pwd.data = filler + [ord(x) for x in encoded]
|
||||
|
Reference in New Issue
Block a user