git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python/upgradehelpers: use int not long for PY3
[sfrench/samba-autobuild/.git]
/
python
/
samba
/
upgradehelpers.py
diff --git
a/python/samba/upgradehelpers.py
b/python/samba/upgradehelpers.py
index 804d820c886584e5ae8f445e889e669577f65228..e3d1ce0124b482d5ba16d1d9ecd82171f4cb55c1 100644
(file)
--- a/
python/samba/upgradehelpers.py
+++ b/
python/samba/upgradehelpers.py
@@
-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