summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 15:42:42 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:25 +0200
commit831bb3575d7e2151d670a1cc2ecae8e6e06a573d (patch)
treeae3a6380043758b7897bfb03defe1cefddece26a /python
parent8c14234871820eacde46670d722a676fb5f3a46c (diff)
downloadsamba-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.py2
-rw-r--r--python/samba/gp_sec_ext.py2
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'''