Updated for name

This commit is contained in:
Dimitris Zlatanidis 2023-05-07 17:06:15 +03:00
parent b2304c7ced
commit b84e0c9b2b

View file

@ -37,8 +37,8 @@ class SearchPackage(Configs):
self.summary_of_searching()
def search_to_all_repositories(self) -> None:
for repo, value in self.repos.repositories.items():
if value[0]: # Check if the repository is enabled
for repo, enable in self.repos.repositories.items():
if enable: # Check if the repository is enabled
if self.utils.is_binary_repo(repo):
data: dict = BinQueries(repo).repository_data()
self.search_for_the_packages(data, repo)