diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-11-08 22:18:08 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-11-08 22:18:08 -0800 |
commit | 1a424c124cf49598cbefc41231ce8fa5e0f33079 (patch) | |
tree | ce95036a80a798514e0f167147aae6777ea0ec8b | |
parent | 1da5d12bdd79e42aafdc3f8dda136fc75bc92257 (diff) | |
download | spack-1a424c124cf49598cbefc41231ce8fa5e0f33079.tar.gz spack-1a424c124cf49598cbefc41231ce8fa5e0f33079.tar.bz2 spack-1a424c124cf49598cbefc41231ce8fa5e0f33079.tar.xz spack-1a424c124cf49598cbefc41231ce8fa5e0f33079.zip |
Python 2.6 fix for Mac OS
-rw-r--r-- | lib/spack/spack/architecture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/architecture.py b/lib/spack/spack/architecture.py index 9b4c6e576d..0c4b605e91 100644 --- a/lib/spack/spack/architecture.py +++ b/lib/spack/spack/architecture.py @@ -65,7 +65,7 @@ def get_mac_sys_type(): if not mac_ver: return None - return "macosx_{}_{}".format( + return "macosx_%s_%s" % ( Version(mac_ver).up_to(2), py_platform.machine()) |