Change spack --profile sort key for 2.6 compatibility. (#1656)

This commit is contained in:
Todd Gamblin 2016-08-29 09:56:54 -07:00 committed by GitHub
parent 4095eb2196
commit 2850ca60be

View file

@ -176,7 +176,7 @@ def main():
if args.profile:
import cProfile
cProfile.run('main()', sort='tottime')
cProfile.run('main()', sort='time')
elif args.pdb:
import pdb
pdb.run('main()')