diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-18 08:30:13 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-18 08:30:13 -0700 |
commit | 164da8eed115394dab3713930348b1112e544fb2 (patch) | |
tree | 7d38d6503f18bdd109e9b495b592f7c1e2f69208 | |
parent | 6e1257ed2d5c6d5da66452707960ce7181a651bb (diff) | |
download | spack-164da8eed115394dab3713930348b1112e544fb2.tar.gz spack-164da8eed115394dab3713930348b1112e544fb2.tar.bz2 spack-164da8eed115394dab3713930348b1112e544fb2.tar.xz spack-164da8eed115394dab3713930348b1112e544fb2.zip |
Version bump to 0.9.1v0.9.1
- Bugfixes for spack find
- 0.9.1 can read specs from current develop.
-rw-r--r-- | lib/spack/spack/__init__.py | 2 | ||||
-rw-r--r-- | lib/spack/spack/spec.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/spack/spack/__init__.py b/lib/spack/spack/__init__.py index c7a155597f..8c6e0ba527 100644 --- a/lib/spack/spack/__init__.py +++ b/lib/spack/spack/__init__.py @@ -105,7 +105,7 @@ concretizer = DefaultConcretizer() # Version information from spack.version import Version -spack_version = Version("0.9") +spack_version = Version("0.9.1") # # Executables used by Spack diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 470353c4f6..3f1fc115b8 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -717,8 +717,9 @@ class Spec(object): else: spec.compiler = CompilerSpec.from_dict(node) - for name, enabled in node['variants'].items(): - spec.variants[name] = VariantSpec(name, enabled) + if 'variants' in node: + for name, enabled in node['variants'].items(): + spec.variants[name] = VariantSpec(name, enabled) return spec |