mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed for typing
This commit is contained in:
parent
e353a60196
commit
8dd3b365b2
1 changed files with 2 additions and 4 deletions
|
@ -16,7 +16,7 @@ class Upgrade(Configs):
|
|||
|
||||
def __init__(self, repository: str, data: dict):
|
||||
super(Configs, self).__init__()
|
||||
self.repository = repository
|
||||
self.repository: str = repository
|
||||
self.data: dict = data
|
||||
|
||||
self.utils = Utilities()
|
||||
|
@ -53,13 +53,11 @@ class Upgrade(Configs):
|
|||
repo_version: str = self.data[name][0]
|
||||
repo_package: str = self.data[name][1]
|
||||
repo_build: str = self.utils.split_binary_pkg(repo_package)[3]
|
||||
|
||||
else:
|
||||
repo_version: str = self.data[name][2]
|
||||
repo_location: str = self.data[name][0]
|
||||
repo_build: str = self.utils.read_slackbuild_build_tag(
|
||||
name, repo_location, self.repository
|
||||
)
|
||||
name, repo_location, self.repository)
|
||||
|
||||
repo_pkg: str = f'{name}-{repo_version}'
|
||||
inst_pkg: str = f'{name}-{inst_version}'
|
||||
|
|
Loading…
Reference in a new issue