Updated for loop

This commit is contained in:
Dimitris Zlatanidis 2023-05-11 17:06:15 +03:00
parent cfafa18804
commit a42e6aca85

View file

@ -69,7 +69,7 @@ class SearchPackage(Configs):
def summary_of_searching(self) -> None: def summary_of_searching(self) -> None:
if self.matching: if self.matching:
for pkg, item in self.data_dict.items(): for item in self.data_dict.values():
print(f"{item['repository']}: {self.cyan}{item['name']}{self.endc} " print(f"{item['repository']}: {self.cyan}{item['name']}{self.endc} "
f"{self.yellow}{item['version']}{self.endc}") f"{self.yellow}{item['version']}{self.endc}")