changeset 40192 | b8f6a99ad89b |
parent 38272 | 15a1e37f80bd |
child 40409 | 89703e6151e7 |
--- a/mercurial/profiling.py Fri Oct 12 17:25:02 2018 +0200 +++ b/mercurial/profiling.py Fri Oct 12 17:31:10 2018 +0200 @@ -61,7 +61,7 @@ else: # format == 'text' stats = lsprof.Stats(p.getstats()) - stats.sort(field) + stats.sort(pycompat.sysstr(field)) stats.pprint(limit=limit, file=fp, climit=climit) @contextlib.contextmanager