# HG changeset patch # User Augie Fackler # Date 1573071300 18000 # Node ID 271af23d01a98ecf87c30c156535fe20be129620 # Parent ffd632c224c3631d28b5db7486074b92a8efdfae pvec: fix overlooked chr() call Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7261 diff -r ffd632c224c3 -r 271af23d01a9 mercurial/pvec.py --- a/mercurial/pvec.py Wed Nov 06 15:29:28 2019 -0500 +++ b/mercurial/pvec.py Wed Nov 06 15:15:00 2019 -0500 @@ -76,7 +76,7 @@ def _str(v, l): bs = b"" for p in pycompat.xrange(l): - bs = chr(v & 255) + bs + bs = pycompat.bytechr(v & 255) + bs v >>= 8 return bs