mirror of
https://github.com/samba-team/samba.git
synced 2025-12-20 16:23:51 +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:
@@ -2385,7 +2385,7 @@ class cmd_domain_trust_create(DomainTrustCommand):
|
||||
# 512 bytes and a 2 bytes confounder is required.
|
||||
#
|
||||
def random_trust_secret(length):
|
||||
pw = samba.generate_random_machine_password(length//2, length//2)
|
||||
pw = samba.generate_random_machine_password(length // 2, length // 2)
|
||||
return string_to_byte_array(pw.encode('utf-16-le'))
|
||||
|
||||
if local_trust_info.trust_direction & lsa.LSA_TRUST_DIRECTION_INBOUND:
|
||||
|
||||
Reference in New Issue
Block a user