summaryrefslogtreecommitdiff
path: root/Lib/profile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-01-10 16:48:37 +0000
committerTim Peters <tim.peters@gmail.com>2005-01-10 16:48:37 +0000
commita113d4181c47c21c5adc2603575a7a626454604a (patch)
treebb9608f5c3551aa177e7567312eec2685347f5db /Lib/profile.py
parentba7b8ccf6e383c5e3a92138c6d9646b750c8eb97 (diff)
downloadcpython-a113d4181c47c21c5adc2603575a7a626454604a.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/profile.py b/Lib/profile.py
index 4b5eb4dbc3..8815ac3d6a 100755
--- a/Lib/profile.py
+++ b/Lib/profile.py
@@ -581,14 +581,14 @@ def main():
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)
-
+
if not sys.argv[1:]:
parser.print_usage()
sys.exit(2)
-
+
(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)