mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +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.utils = Utilities()
|
||||||
self.color = self.colour()
|
self.color = self.colour()
|
||||||
self.data = InstallData()
|
self.data = InstallData()
|
||||||
|
self.check_updates = CheckUpdates(
|
||||||
|
self.flags, self.repo
|
||||||
|
)
|
||||||
|
|
||||||
self.repos_for_update: dict = {}
|
self.repos_for_update: dict = {}
|
||||||
self.bold: str = self.color['bold']
|
self.bold: str = self.color['bold']
|
||||||
|
@ -493,8 +496,7 @@ class UpdateRepository(Configs):
|
||||||
os.makedirs(path)
|
os.makedirs(path)
|
||||||
|
|
||||||
def check(self, queue) -> None:
|
def check(self, queue) -> None:
|
||||||
check_updates = CheckUpdates(self.flags, self.repo)
|
compare = self.check_updates.check()
|
||||||
compare = check_updates.check()
|
|
||||||
is_update: dict = {}
|
is_update: dict = {}
|
||||||
|
|
||||||
for repo, comp in compare.items():
|
for repo, comp in compare.items():
|
||||||
|
|
Loading…
Add table
Reference in a new issue