mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Remove class attribute
This commit is contained in:
parent
e5809316eb
commit
1beae052e2
1 changed files with 1 additions and 3 deletions
|
@ -32,8 +32,6 @@ class Required:
|
||||||
if info.get(repo_name):
|
if info.get(repo_name):
|
||||||
self.full_requires: bool = info[repo_name].get('full_requires', False)
|
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(
|
self.option_for_resolve_off: bool = self.utils.is_option(
|
||||||
('-O', '--resolve-off'), flags)
|
('-O', '--resolve-off'), flags)
|
||||||
|
|
||||||
|
@ -67,4 +65,4 @@ class Required:
|
||||||
Returns:
|
Returns:
|
||||||
list: List of packages name.
|
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]
|
||||||
|
|
Loading…
Reference in a new issue