diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 15:42:42 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:25 +0200 |
commit | 831bb3575d7e2151d670a1cc2ecae8e6e06a573d (patch) | |
tree | ae3a6380043758b7897bfb03defe1cefddece26a /python | |
parent | 8c14234871820eacde46670d722a676fb5f3a46c (diff) | |
download | samba-831bb3575d7e2151d670a1cc2ecae8e6e06a573d.tar.gz |
PEP8: fix E271: multiple spaces after keyword
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')
-rw-r--r-- | python/samba/compat.py | 2 | ||||
-rw-r--r-- | python/samba/gp_sec_ext.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/compat.py b/python/samba/compat.py index 3fdeec886a6..aa1ac29136f 100644 --- a/python/samba/compat.py +++ b/python/samba/compat.py @@ -33,7 +33,7 @@ if PY3: return (x > y) - (x < y) # compat functions - from urllib.parse import quote as urllib_quote + from urllib.parse import quote as urllib_quote from urllib.request import urlopen as urllib_urlopen from functools import cmp_to_key as cmp_to_key_fn diff --git a/python/samba/gp_sec_ext.py b/python/samba/gp_sec_ext.py index 6d245c4f1e1..dcf9ed29d81 100644 --- a/python/samba/gp_sec_ext.py +++ b/python/samba/gp_sec_ext.py @@ -89,7 +89,7 @@ class inf_to_ldb(gp_ext_setter): sam_add = 10000000 val = (self.val) val = int(val) - return str(-(val * seconds * minutes * hours * sam_add)) + return str(-(val * seconds * minutes * hours * sam_add)) def mapper(self): '''ldap value : samba setter''' |