Show More
@@ -1,4 +1,4 b'' | |||
|
1 | from __future__ import absolute_import | |
|
1 | from __future__ import absolute_import, print_function | |
|
2 | 2 | |
|
3 | 3 | import _lsprof |
|
4 | 4 | import sys |
@@ -113,7 +113,7 b" if __name__ == '__main__':" | |||
|
113 | 113 | import os |
|
114 | 114 | sys.argv = sys.argv[1:] |
|
115 | 115 | if not sys.argv: |
|
116 |
print |
|
|
116 | print("usage: lsprof.py <script> <arguments...>", file=sys.stderr) | |
|
117 | 117 | sys.exit(2) |
|
118 | 118 | sys.path.insert(0, os.path.abspath(os.path.dirname(sys.argv[0]))) |
|
119 | 119 | stats = profile(execfile, sys.argv[0], globals(), locals()) |
@@ -100,7 +100,6 b'' | |||
|
100 | 100 | i18n/polib.py not using absolute_import |
|
101 | 101 | mercurial/cmdutil.py not using absolute_import |
|
102 | 102 | mercurial/commands.py not using absolute_import |
|
103 | mercurial/lsprof.py requires print_function | |
|
104 | 103 | mercurial/lsprofcalltree.py requires print_function |
|
105 | 104 | mercurial/mail.py requires print_function |
|
106 | 105 | setup.py not using absolute_import |
General Comments 0
You need to be logged in to leave comments.
Login now