Mercurial > hg-stable
diff hgext/fastannotate/protocol.py @ 39636:b220851999b5
py3: use '%d' for integers instead of '%s'
Differential Revision: https://phab.mercurial-scm.org/D4593
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 15 Sep 2018 00:24:05 +0300 |
parents | 2182e67ea912 |
children | d8a7690ccc74 |
line wrap: on
line diff
--- a/hgext/fastannotate/protocol.py Sat Sep 15 00:17:56 2018 +0300 +++ b/hgext/fastannotate/protocol.py Sat Sep 15 00:24:05 2018 +0300 @@ -76,7 +76,7 @@ content = f.read() vfsbaselen = len(repo.vfs.base + '/') relpath = p[vfsbaselen:] - result += '%s\0%s\0%s' % (relpath, len(content), content) + result += '%s\0%d\0%s' % (relpath, len(content), content) return result def _registerwireprotocommand():