mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Updated for coding style
This commit is contained in:
parent
4b8e5fedff
commit
c9e50f72b3
1 changed files with 4 additions and 2 deletions
|
@ -34,6 +34,9 @@ class UpdateRepository(Configs):
|
|||
self.utils = Utilities()
|
||||
self.color = self.colour()
|
||||
self.data = InstallData()
|
||||
self.check_updates = CheckUpdates(
|
||||
self.flags, self.repo
|
||||
)
|
||||
|
||||
self.repos_for_update: dict = {}
|
||||
self.bold: str = self.color['bold']
|
||||
|
@ -493,8 +496,7 @@ class UpdateRepository(Configs):
|
|||
os.makedirs(path)
|
||||
|
||||
def check(self, queue) -> None:
|
||||
check_updates = CheckUpdates(self.flags, self.repo)
|
||||
compare = check_updates.check()
|
||||
compare = self.check_updates.check()
|
||||
is_update: dict = {}
|
||||
|
||||
for repo, comp in compare.items():
|
||||
|
|
Loading…
Reference in a new issue