Skip to content
Snippets Groups Projects
Commit 553ad16b authored by Augie Fackler's avatar Augie Fackler
Browse files

revsetlang: portably turn int into bytestring

parent 102f2918
No related branches found
No related tags found
No related merge requests found
......@@ -629,7 +629,7 @@
elif l == 1:
return argtype(t, s[0])
elif t == 'd':
return "_intlist('%s')" % "\0".join(str(int(a)) for a in s)
return "_intlist('%s')" % "\0".join('%d' % int(a) for a in s)
elif t == 's':
return "_list('%s')" % "\0".join(s)
elif t == 'n':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment