Fix unexpected keyword error in Python 2.6 (#2954)
This commit is contained in:
parent
d63a53e691
commit
897d0f3f3e
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ def main(args):
|
||||||
|
|
||||||
if args.profile:
|
if args.profile:
|
||||||
import cProfile
|
import cProfile
|
||||||
cProfile.runctx('_main(args, unknown)', globals(), locals(),
|
cProfile.runctx('_main(args, unknown)', globals(), locals())
|
||||||
sort='time')
|
|
||||||
elif args.pdb:
|
elif args.pdb:
|
||||||
import pdb
|
import pdb
|
||||||
pdb.runctx('_main(args, unknown)', globals(), locals())
|
pdb.runctx('_main(args, unknown)', globals(), locals())
|
||||||
|
|
Loading…
Reference in a new issue