mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PEP8: fix E251: unexpected spaces around keyword / parameter equals
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:
@ -70,7 +70,7 @@ class UserCmdCryptShaTestCase(SambaToolCmdTest):
|
||||
def setUp(self):
|
||||
super(UserCmdCryptShaTestCase, self).setUp()
|
||||
|
||||
def add_user(self, hashes = ""):
|
||||
def add_user(self, hashes=""):
|
||||
self.lp = samba.tests.env_loadparm()
|
||||
|
||||
# set the extra hashes to be calculated
|
||||
@ -92,7 +92,7 @@ class UserCmdCryptShaTestCase(SambaToolCmdTest):
|
||||
super(UserCmdCryptShaTestCase, self).tearDown()
|
||||
self.runsubcmd("user", "delete", USER_NAME)
|
||||
|
||||
def _get_password(self, attributes, decrypt = False):
|
||||
def _get_password(self, attributes, decrypt=False):
|
||||
command = ["user",
|
||||
"getpassword",
|
||||
USER_NAME,
|
||||
|
Reference in New Issue
Block a user