From 831bb3575d7e2151d670a1cc2ecae8e6e06a573d Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Mon, 30 Jul 2018 15:42:42 +1200 Subject: [PATCH] PEP8: fix E271: multiple spaces after keyword Signed-off-by: Joe Guo Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- python/samba/compat.py | 2 +- 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'''