mercurial/bundle2.py
changeset 33698 da7c285ec6da
parent 33693 5fc4ddfbe626
child 33699 5ae35a1347fd
--- a/mercurial/bundle2.py	Mon Jul 24 11:16:53 2017 -0400
+++ b/mercurial/bundle2.py	Mon Jul 24 11:17:36 2017 -0400
@@ -145,7 +145,7 @@
 preserve.
 """
 
-from __future__ import absolute_import
+from __future__ import absolute_import, division
 
 import errno
 import re
@@ -1017,7 +1017,7 @@
         for key, value in advpar:
             parsizes.append(len(key))
             parsizes.append(len(value))
-        paramsizes = _pack(_makefpartparamsizes(len(parsizes) / 2), *parsizes)
+        paramsizes = _pack(_makefpartparamsizes(len(parsizes) // 2), *parsizes)
         header.append(paramsizes)
         # key, value
         for key, value in manpar: