mirror of
https://github.com/python/cpython.git
synced 2025-07-29 22:24:49 +00:00
Issue #6635: Fix profiler printing usage message.
This commit is contained in:
parent
1f4fc097f6
commit
924eab64a3
2 changed files with 4 additions and 2 deletions
|
@ -605,9 +605,9 @@ def main():
|
|||
sys.exit(2)
|
||||
|
||||
(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]))
|
||||
run('execfile(%r)' % (sys.argv[0],), options.outfile, options.sort)
|
||||
else:
|
||||
|
|
|
@ -366,6 +366,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #6635: Fix profiler printing usage message.
|
||||
|
||||
- Issue #6856: Add a filter keyword argument to TarFile.add().
|
||||
|
||||
- Issue #6163: Fixed HP-UX runtime library dir options in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue