mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
python/upgradehelpers: use int not long for PY3
int works OK for py2 also. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <nopower@suse.com>
This commit is contained in:
parent
77ef686f59
commit
79e1ed1ffa
@ -831,7 +831,6 @@ def int64range2str(value):
|
||||
:param value: The int64 range
|
||||
:return: A string of the representation of the range
|
||||
"""
|
||||
|
||||
lvalue = long(value)
|
||||
lvalue = int(value)
|
||||
str = "%d-%d" % (lvalue &0xFFFFFFFF, lvalue >>32)
|
||||
return str
|
||||
|
Loading…
Reference in New Issue
Block a user