Change spack --profile sort key for 2.6 compatibility. (#1656)
This commit is contained in:
parent
4095eb2196
commit
2850ca60be
1 changed files with 1 additions and 1 deletions
|
@ -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()')
|
||||
|
|
Loading…
Reference in a new issue