summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-11-08 22:18:08 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2014-11-08 22:18:08 -0800
commit1a424c124cf49598cbefc41231ce8fa5e0f33079 (patch)
treece95036a80a798514e0f167147aae6777ea0ec8b
parent1da5d12bdd79e42aafdc3f8dda136fc75bc92257 (diff)
downloadspack-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.py2
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())