httppeer: use %d to format int
authorAugie Fackler <augie@google.com>
Sat, 17 Feb 2018 21:25:14 -0500
changeset 36270 2d513ab7ce94
parent 36269 4088e568a411
child 36271 53be14874ee8
httppeer: use %d to format int Differential Revision: https://phab.mercurial-scm.org/D2300
mercurial/httppeer.py
--- a/mercurial/httppeer.py	Sat Feb 17 17:24:29 2018 +0900
+++ b/mercurial/httppeer.py	Sat Feb 17 21:25:14 2018 -0500
@@ -334,7 +334,7 @@
         req = self._requestbuilder(pycompat.strurl(cu), data, headers)
 
         if data is not None:
-            self.ui.debug("sending %s bytes\n" % size)
+            self.ui.debug("sending %d bytes\n" % size)
             req.add_unredirected_header('Content-Length', '%d' % size)
         try:
             resp = self._openurl(req)