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'''