diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-07 20:54:48 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-07 20:54:48 (GMT) |
commit | 4e0e1b6a540e664e89739456db4c706701bf062b (patch) | |
tree | 6a144e54fe6f0055d6e412181df0bbad458f8b10 /Lib/profile.py | |
parent | b7e898a0e2a8d4077cbabeada039200fde5ada60 (diff) | |
download | cpython-4e0e1b6a540e664e89739456db4c706701bf062b.zip cpython-4e0e1b6a540e664e89739456db4c706701bf062b.tar.gz cpython-4e0e1b6a540e664e89739456db4c706701bf062b.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-x | Lib/profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/profile.py b/Lib/profile.py index 99a5b62..6ed396e 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -598,14 +598,14 @@ if __name__ == '__main__': parser = ProfileParser(usage) parser.allow_interspersed_args = False - parser.add_option('-o', '--outfile', dest="outfile", + parser.add_option('-o', '--outfile', dest="outfile", help="Save stats to <outfile>", default=None) parser.add_option('-s', '--sort', dest="sort", help="Sort order when printing to stdout, based on pstats.Stats class", default=-1) (options, args) = parser.parse_args() sys.argv[:] = args - + if (len(sys.argv) > 0): sys.path.insert(0, os.path.dirname(sys.argv[0])) run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort) |