diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-12-19 11:09:37 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-12-19 11:09:37 -0800 |
commit | ab3bf6190362747b5c7852cc98963beb160951e0 (patch) | |
tree | d37f93540c40d7166f290d45d7e0342b11fb1c0d | |
parent | 5a3a838fe5a6f08824fe70d40722de9c68b7b749 (diff) | |
download | spack-ab3bf6190362747b5c7852cc98963beb160951e0.tar.gz spack-ab3bf6190362747b5c7852cc98963beb160951e0.tar.bz2 spack-ab3bf6190362747b5c7852cc98963beb160951e0.tar.xz spack-ab3bf6190362747b5c7852cc98963beb160951e0.zip |
Fix for SPACK-50
Bad format string in version check.
-rwxr-xr-x | bin/spack | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,7 +25,8 @@ ############################################################################## import sys if not sys.version_info[:2] >= (2,6): - sys.exit("Spack requires Python 2.6. Version was %s." % sys.version_info) + v_info = sys.version_info[:3] + sys.exit("Spack requires Python 2.6 or higher. This is Python %d.%d.%d." % v_info) import os |