mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Refactor method
This commit is contained in:
parent
a2f9449e31
commit
50c4c3312d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue