Refactor method

This commit is contained in:
Dimitris Zlatanidis 2024-04-16 16:48:00 +03:00
parent a2f9449e31
commit 50c4c3312d

View file

@ -42,9 +42,9 @@ class UpdateRepositories(Configs):
for repo in self.repos_for_update:
self.repos_for_update[repo] = True
self.update_the_repositories()
self.run_update()
def update_the_repositories(self) -> None:
def run_update(self) -> None:
for repo, update in self.repos_for_update.items():
if update:
self.view_downloading_message(repo)