# HG changeset patch # User Augie Fackler # Date 2018-02-18 02:25:14 # Node ID 2d513ab7ce940bfb912a2e73e68d1b21fa4ab019 # Parent 4088e568a411a9fb34350c8924cddf4ab41046b8 httppeer: use %d to format int Differential Revision: https://phab.mercurial-scm.org/D2300 diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py --- a/mercurial/httppeer.py +++ b/mercurial/httppeer.py @@ -334,7 +334,7 @@ class httppeer(wireproto.wirepeer): 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)