D2300: httppeer: use %d to format int

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Feb 18 07:46:39 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2d513ab7ce94: httppeer: use %d to format int (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2300?vs=5818&id=5837

REVISION DETAIL
  https://phab.mercurial-scm.org/D2300

AFFECTED FILES
  mercurial/httppeer.py

CHANGE DETAILS

diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py
--- a/mercurial/httppeer.py
+++ b/mercurial/httppeer.py
@@ -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)



To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list