python/upgradehelpers: use int not long for PY3
[sfrench/samba-autobuild/.git] / python / samba / upgradehelpers.py
index 804d820c886584e5ae8f445e889e669577f65228..e3d1ce0124b482d5ba16d1d9ecd82171f4cb55c1 100644 (file)
@@ -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