From: Joe Guo Date: Mon, 30 Jul 2018 03:42:42 +0000 (+1200) Subject: PEP8: fix E271: multiple spaces after keyword X-Git-Tag: tdb-1.3.17~2091 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=831bb3575d7e2151d670a1cc2ecae8e6e06a573d;p=thirdparty%2Fsamba.git PEP8: fix E271: multiple spaces after keyword Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- 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'''