summaryrefslogtreecommitdiff
path: root/python/samba/gp_sec_ext.py
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:17:14 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:27 +0200
commitba0827b560c8165bcbb4017a6377778934ad9bb9 (patch)
treebf622e8cc16f566b052b3fb8be1fda6274dd0695 /python/samba/gp_sec_ext.py
parent562411bd9587bdd011bd70e25f9763c38a8af401 (diff)
downloadsamba-ba0827b560c8165bcbb4017a6377778934ad9bb9.tar.gz
PEP8: fix E203: whitespace before ':'
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>
Diffstat (limited to 'python/samba/gp_sec_ext.py')
-rw-r--r--python/samba/gp_sec_ext.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/gp_sec_ext.py b/python/samba/gp_sec_ext.py
index 68e3a0081e5..40999758e0e 100644
--- a/python/samba/gp_sec_ext.py
+++ b/python/samba/gp_sec_ext.py
@@ -93,12 +93,12 @@ class inf_to_ldb(gp_ext_setter):
def mapper(self):
'''ldap value : samba setter'''
- return {"minPwdAge" : (self.ch_minPwdAge, self.days2rel_nttime),
- "maxPwdAge" : (self.ch_maxPwdAge, self.days2rel_nttime),
+ return {"minPwdAge": (self.ch_minPwdAge, self.days2rel_nttime),
+ "maxPwdAge": (self.ch_maxPwdAge, self.days2rel_nttime),
# Could be none, but I like the method assignment in
# update_samba
- "minPwdLength" : (self.ch_minPwdLength, self.explicit),
- "pwdProperties" : (self.ch_pwdProperties, self.explicit),
+ "minPwdLength": (self.ch_minPwdLength, self.explicit),
+ "pwdProperties": (self.ch_pwdProperties, self.explicit),
}