fixed a bug and a test bug

This commit is contained in:
Gregory Becker
2016-03-02 14:17:46 -08:00
parent e46bac19fa
commit 676591ffc0
2 changed files with 19 additions and 6 deletions

View File

@@ -1307,7 +1307,7 @@ def satisfies(self, other, deps=True, strict=False):
if not self.compiler.satisfies(other.compiler, strict=strict):
return False
elif strict and (other.compiler and not self.compiler):
return True
return False
if not self.variants.satisfies(other.variants, strict=strict):
return False