Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a829263 commit b497c10Copy full SHA for b497c10
1 file changed
Lib/profile.py
@@ -581,14 +581,14 @@ def main():
581
help="Save stats to <outfile>", default=None)
582
parser.add_option('-s', '--sort', dest="sort",
583
help="Sort order when printing to stdout, based on pstats.Stats class", default=-1)
584
-
+
585
if not sys.argv[1:]:
586
parser.print_usage()
587
sys.exit(2)
588
589
(options, args) = parser.parse_args()
590
sys.argv[:] = args
591
592
if (len(sys.argv) > 0):
593
sys.path.insert(0, os.path.dirname(sys.argv[0]))
594
run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort)
0 commit comments