summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-03-03 15:24:44 -0600
committerGitHub <noreply@github.com>2017-03-03 15:24:44 -0600
commit897d0f3f3edacbab9f7ecb96c8e756b42f820063 (patch)
tree4f96a616a1b1b7f238d36daeb29adca7ab47d751 /bin
parentd63a53e691669235768db51bc048c0fff88431ca (diff)
downloadspack-897d0f3f3edacbab9f7ecb96c8e756b42f820063.tar.gz
spack-897d0f3f3edacbab9f7ecb96c8e756b42f820063.tar.bz2
spack-897d0f3f3edacbab9f7ecb96c8e756b42f820063.tar.xz
spack-897d0f3f3edacbab9f7ecb96c8e756b42f820063.zip
Fix unexpected keyword error in Python 2.6 (#2954)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index 9f17443d00..f885f577c8 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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())