Mercurial > hg-stable
changeset 36303:2d513ab7ce94
httppeer: use %d to format int
Differential Revision: https://phab.mercurial-scm.org/D2300
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 17 Feb 2018 21:25:14 -0500 |
parents | 4088e568a411 |
children | 53be14874ee8 |
files | mercurial/httppeer.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)