changeset 39620: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 2aa12d7fcb4f
children 23b749b84b8a
files hgext/fastannotate/protocol.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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():