Kaydet (Commit) 924eab64 authored tarafından Matthias Klose's avatar Matthias Klose

Issue #6635: Fix profiler printing usage message.

üst 1f4fc097
...@@ -605,9 +605,9 @@ def main(): ...@@ -605,9 +605,9 @@ def main():
sys.exit(2) sys.exit(2)
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
sys.argv[:] = args
if (len(sys.argv) > 0): if (len(args) > 0):
sys.argv[:] = args
sys.path.insert(0, os.path.dirname(sys.argv[0])) sys.path.insert(0, os.path.dirname(sys.argv[0]))
run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort) run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort)
else: else:
......
...@@ -366,6 +366,8 @@ Core and Builtins ...@@ -366,6 +366,8 @@ Core and Builtins
Library Library
------- -------
- Issue #6635: Fix profiler printing usage message.
- Issue #6856: Add a filter keyword argument to TarFile.add(). - Issue #6856: Add a filter keyword argument to TarFile.add().
- Issue #6163: Fixed HP-UX runtime library dir options in - Issue #6163: Fixed HP-UX runtime library dir options in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment