Show More
@@ -61,7 +61,7 b' def lsprofile(ui, fp):' | |||||
61 | else: |
|
61 | else: | |
62 | # format == 'text' |
|
62 | # format == 'text' | |
63 | stats = lsprof.Stats(p.getstats()) |
|
63 | stats = lsprof.Stats(p.getstats()) | |
64 | stats.sort(field) |
|
64 | stats.sort(pycompat.sysstr(field)) | |
65 | stats.pprint(limit=limit, file=fp, climit=climit) |
|
65 | stats.pprint(limit=limit, file=fp, climit=climit) | |
66 |
|
66 | |||
67 | @contextlib.contextmanager |
|
67 | @contextlib.contextmanager |
General Comments 0
You need to be logged in to leave comments.
Login now