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
commitb497c106d54f12fee97a362af748c70e0c66ef4a (patch)
tree76d379adfe86c5b455f500fb527f93b5162fbc15 /Lib/profile.py
parenta8292636c60aa1fd0f104391d264df772d3298b1 (diff)
downloadcpython-git-b497c106d54f12fee97a362af748c70e0c66ef4a.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)