revsetlang: portably bytestring-ify another pair of int() calls
authorAugie Fackler <augie@google.com>
Thu, 23 Mar 2017 10:33:20 -0400
changeset 31603 fbe8502c4480
parent 31602 772878ac930e
child 31604 7eac6fcf2ffa
revsetlang: portably bytestring-ify another pair of int() calls
mercurial/revsetlang.py
--- a/mercurial/revsetlang.py	Thu Mar 23 21:23:21 2017 -0700
+++ b/mercurial/revsetlang.py	Thu Mar 23 10:33:20 2017 -0400
@@ -611,7 +611,7 @@
 
     def argtype(c, arg):
         if c == 'd':
-            return str(int(arg))
+            return '%d' % int(arg)
         elif c == 's':
             return quote(arg)
         elif c == 'r':