Fix unexpected keyword error in Python 2.6 (#2954)

This commit is contained in:
Adam J. Stewart 2017-03-03 15:24:44 -06:00 committed by GitHub
parent d63a53e691
commit 897d0f3f3e

View file

@ -199,8 +199,7 @@ def main(args):
if args.profile:
import cProfile
cProfile.runctx('_main(args, unknown)', globals(), locals(),
sort='time')
cProfile.runctx('_main(args, unknown)', globals(), locals())
elif args.pdb:
import pdb
pdb.runctx('_main(args, unknown)', globals(), locals())