Patchwork D7215: py3: use %d to format an int

login
register
mail settings
Submitter phabricator
Date Nov. 4, 2019, 4:28 p.m.
Message ID <2adbbd2cebca6a5cb112258eed070569@localhost.localdomain>
Download mbox | patch
Permalink /patch/42726/
State Not Applicable
Headers show

Comments

phabricator - Nov. 4, 2019, 4:28 p.m.
Closed by commit rHG742065def6ca: py3: use %d to format an int (authored by Kwan).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7215?vs=17514&id=17530

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7215/new/

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

AFFECTED FILES
  hgext/phabricator.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -441,7 +441,7 @@ 
                 )
                 unfi.ui.warn(
                     _(
-                        b'D%s: local tag removed - does not match '
+                        b'D%d: local tag removed - does not match '
                         b'Differential history\n'
                     )
                     % drev