D5009: py3: use %d to format ints
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Oct 12 17:02:05 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb25fbe7e494e: py3: use %d to format ints (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5009?vs=11922&id=11946
REVISION DETAIL
https://phab.mercurial-scm.org/D5009
AFFECTED FILES
mercurial/lsprof.py
CHANGE DETAILS
diff --git a/mercurial/lsprof.py b/mercurial/lsprof.py
--- a/mercurial/lsprof.py
+++ b/mercurial/lsprof.py
@@ -48,7 +48,7 @@
d = self.data
if top is not None:
d = d[:top]
- cols = "% 12s %12s %11.4f %11.4f %s\n"
+ cols = "% 12d %12d %11.4f %11.4f %s\n"
hcols = "% 12s %12s %12s %12s %s\n"
file.write(hcols % ("CallCount", "Recursive", "Total(s)",
"Inline(s)", "module:lineno(function)"))
To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list