From 1beae052e2f884c590173cbae1d1d5c55cfe0b65 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 10 May 2024 18:16:42 +0300 Subject: [PATCH] Remove class attribute --- slpkg/binaries/required.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/slpkg/binaries/required.py b/slpkg/binaries/required.py index 66288448..13eee6da 100644 --- a/slpkg/binaries/required.py +++ b/slpkg/binaries/required.py @@ -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]