From 2850ca60be1c5a5943af5ca404faad5bb08aef42 Mon Sep 17 00:00:00 2001
From: Todd Gamblin <tgamblin@llnl.gov>
Date: Mon, 29 Aug 2016 09:56:54 -0700
Subject: [PATCH] Change spack --profile sort key for 2.6 compatibility.
 (#1656)

---
 bin/spack | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/spack b/bin/spack
index 9fed11f33b..7efa88f1ee 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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()')
-- 
GitLab