Remove class attribute

This commit is contained in:
Dimitris Zlatanidis 2024-05-10 18:16:42 +03:00
parent e5809316eb
commit 1beae052e2

View file

@ -32,8 +32,6 @@ class Required:
if info.get(repo_name):
self.full_requires: bool = info[repo_name].get('full_requires', False)
self.repository_packages: tuple = tuple(self.data.keys())
self.option_for_resolve_off: bool = self.utils.is_option(
('-O', '--resolve-off'), flags)
@ -67,4 +65,4 @@ class Required:
Returns:
list: List of packages name.
"""
return [req for req in requires if req in self.repository_packages]
return [req for req in requires if req in self.data]