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