]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
PEP8: fix E271: multiple spaces after keyword
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 30 Jul 2018 03:42:42 +0000 (15:42 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 24 Aug 2018 05:49:25 +0000 (07:49 +0200)
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>
python/samba/compat.py
python/samba/gp_sec_ext.py

index 3fdeec886a650a8dc8a2425c5726184674598e65..aa1ac29136f7848be041a9ebaf03f6b3523378e9 100644 (file)
@@ -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
 
index 6d245c4f1e135750e4843bcb24a9a34bd6a81d7b..dcf9ed29d81cb2d64ff71b515f2dca3510192732 100644 (file)
@@ -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'''