mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Fix PEP8 warning E201/202/203 array/dict whitespace
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:
committed by
Andrew Bartlett
parent
a39c8f4431
commit
96b726ea86
@ -58,7 +58,7 @@ def show_pso_by_dn(outf, samdb, dn, show_applies_to=True):
|
||||
"""Displays the password settings for a PSO specified by DN"""
|
||||
|
||||
# map from the boolean LDB value to the CLI string the user sees
|
||||
on_off_str = { "TRUE" : "on", "FALSE" : "off" }
|
||||
on_off_str = {"TRUE": "on", "FALSE": "off"}
|
||||
|
||||
pso_attrs = ['name', 'msDS-PasswordSettingsPrecedence',
|
||||
'msDS-PasswordReversibleEncryptionEnabled',
|
||||
|
@ -686,7 +686,7 @@ class PasswordSettingsTestCase(PasswordTestCase):
|
||||
self.assertTrue(attr in res[0])
|
||||
|
||||
# check replace/delete operations can't be performed by regular users
|
||||
operations = [ FLAG_MOD_REPLACE, FLAG_MOD_DELETE ]
|
||||
operations = [FLAG_MOD_REPLACE, FLAG_MOD_DELETE]
|
||||
|
||||
for oper in operations:
|
||||
try:
|
||||
|
Reference in New Issue
Block a user