Skip to content

Commit

Permalink
Fix PEP8 warning E201/202/203 array/dict whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Beale <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
Reviewed-by: Douglas Bagnall <[email protected]>
  • Loading branch information
tlbeale authored and abartlet committed Aug 17, 2018
1 parent a39c8f4 commit 96b726e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/samba/netcmd/pso.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion source4/dsdb/tests/python/password_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def test_pso_permissions(self):
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:
Expand Down

0 comments on commit 96b726e

Please sign in to comment.