Patchwork D5285: py3: use '%d' for integers instead of '%s'

login
register
mail settings
Submitter phabricator
Date Nov. 20, 2018, 12:26 p.m.
Message ID <8ed4e8d44d643f2fddbd8bfd9867f574@localhost.localdomain>
Download mbox | patch
Permalink /patch/36665/
State Not Applicable
Headers show

Comments

phabricator - Nov. 20, 2018, 12:26 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfeae4d1f5e01: py3: use &#039;%d&#039; for integers instead of &#039;%s&#039; (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5285?vs=12561&id=12568

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

AFFECTED FILES
  hgext/remotefilelog/debugcommands.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/remotefilelog/debugcommands.py b/hgext/remotefilelog/debugcommands.py
--- a/hgext/remotefilelog/debugcommands.py
+++ b/hgext/remotefilelog/debugcommands.py
@@ -33,7 +33,7 @@ 
 
     size, firstnode, mapping = parsefileblob(path, decompress)
 
-    ui.status(_("size: %s bytes\n") % (size))
+    ui.status(_("size: %d bytes\n") % (size))
     ui.status(_("path: %s \n") % (path))
     ui.status(_("key: %s \n") % (short(firstnode)))
     ui.status(_("\n"))