diff options
Diffstat (limited to 'pym/repoman/checks.py')
-rw-r--r-- | pym/repoman/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 35225c229..94dcfbea8 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -470,7 +470,7 @@ class InheritEclass(LineCheck): self._inherit = False self._func_call = False if hasattr(self, '_exempt_eclasses'): - self._disabled = self._exempt_eclasses.intersection(pkg.inherited) + self._disabled = any(x in pkg.inherited for x in self._exempt_eclasses) else: self._disabled = False |