hgext/convert/common.py
changeset 15791 a814f8fcc65a
parent 15611 ec8a49c46d7e
child 16105 ebaa0aa749e2
--- a/hgext/convert/common.py	Sun Jan 08 17:57:25 2012 +0100
+++ b/hgext/convert/common.py	Sun Jan 08 18:15:54 2012 +0100
@@ -339,7 +339,7 @@
 
         # Since ARG_MAX is for command line _and_ environment, lower our limit
         # (and make happy Windows shells while doing this).
-        return argmax / 2 - 1
+        return argmax // 2 - 1
 
     def limit_arglist(self, arglist, cmd, closestdin, *args, **kwargs):
         cmdlen = len(self._cmdline(cmd, closestdin, *args, **kwargs))