Fixed flipped conditional in satisfies
This commit is contained in:
parent
c6ac709d70
commit
0b5836cfce
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user