Fixed flipped conditional in satisfies

This commit is contained in:
Gregory Becker 2016-05-11 10:51:52 -07:00
parent c6ac709d70
commit 0b5836cfce

View File

@ -1518,7 +1518,7 @@ def satisfies(self, other, deps=True, strict=False):
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.