diff options
author | Gregory Becker <becker33@llnl.gov> | 2016-05-11 10:51:52 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2016-05-11 10:51:52 -0700 |
commit | 0b5836cfce4e701ec9487654fca0eabc905d9092 (patch) | |
tree | 6b0de9ca75d2885ea9a38d6f705ad4e6e9cc6d30 /lib | |
parent | c6ac709d70adf9d6ecf5b840411bf5e3e4ba1523 (diff) | |
download | spack-0b5836cfce4e701ec9487654fca0eabc905d9092.tar.gz spack-0b5836cfce4e701ec9487654fca0eabc905d9092.tar.bz2 spack-0b5836cfce4e701ec9487654fca0eabc905d9092.tar.xz spack-0b5836cfce4e701ec9487654fca0eabc905d9092.zip |
Fixed flipped conditional in satisfies
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 547f006e7a..f94aa3ca4a 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -1518,7 +1518,7 @@ class Spec(object): return False # Otherwise, first thing we care about is whether the name matches - if self.name != other.name and (not self.name) and (not other.name): + if self.name != other.name and self.name and other.name: return False # namespaces either match, or other doesn't require one. |