Mercurial > hg
changeset 40193:b25fbe7e494e
py3: use %d to format ints
Differential Revision: https://phab.mercurial-scm.org/D5009
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 12 Oct 2018 17:35:54 +0200 |
parents | b8f6a99ad89b |
children | 1ae0faa14797 |
files | mercurial/lsprof.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/lsprof.py Fri Oct 12 17:31:10 2018 +0200 +++ b/mercurial/lsprof.py Fri Oct 12 17:35:54 2018 +0200 @@ -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)"))