diff --git a/lib/portage/news.py b/lib/portage/news.py index 132e050f2f..6b2996c312 100644 --- a/lib/portage/news.py +++ b/lib/portage/news.py @@ -281,10 +281,9 @@ def isRelevant(self, vardb, config, profile): kwargs = {"vardb": vardb, "config": config, "profile": profile} all_match = all( - True + restriction.checkRestriction(**kwargs) for values in self.restrictions.values() for restriction in values - if restriction.checkRestriction(**kwargs) ) return all_match