mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated for typing
This commit is contained in:
parent
e15c0b34bb
commit
01d87c98bf
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class Slackbuilds(Configs):
|
|||
def __init__(self, repository: str, data: dict, slackbuilds: list, flags: list, mode: str):
|
||||
super(Configs, self).__init__()
|
||||
self.repository: str = repository
|
||||
self.data = data
|
||||
self.data: dict = data
|
||||
self.slackbuilds: list = slackbuilds
|
||||
self.flags: list = flags
|
||||
self.mode: str = mode
|
||||
|
@ -111,7 +111,7 @@ class Slackbuilds(Configs):
|
|||
def remove_duplicate_slackbuilds_from_dependencies(self):
|
||||
if self.dependencies:
|
||||
# Remove duplicate packages and keeps the order.
|
||||
dependencies = list(OrderedDict.fromkeys(self.dependencies))
|
||||
dependencies: list = list(OrderedDict.fromkeys(self.dependencies))
|
||||
self.dependencies: list = self.choose_dependencies_for_build_or_install(dependencies)
|
||||
|
||||
def add_dependencies_slackbuilds_to_install_list(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue