diff options
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 6d3e12d6e5..0d48cfc523 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -1058,7 +1058,7 @@ def is_enabled(text): # This code gets all the fabric names from the variants list # Idea taken from the AutotoolsPackage source. def get_options_from_variant(self, name): - values = self.variants[name].values + values = self.variants[name][0].values if getattr(values, 'feature_values', None): values = values.feature_values return values |