Updated for naming

This commit is contained in:
Dimitris Zlatanidis 2023-05-23 17:55:35 +03:00
parent dba39837bb
commit 40e08386d3

View file

@ -55,6 +55,6 @@ class Required:
def remove_deps(self, requires: list) -> Generator:
""" Remove requires that not in the repository or blacklisted. """
for dependency in requires:
if dependency in self.repository_packages:
yield dependency
for require in requires:
if require in self.repository_packages:
yield require