mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Updated for search
This commit is contained in:
parent
f3ed8b7170
commit
497d842e2d
2 changed files with 2 additions and 3 deletions
|
@ -751,7 +751,7 @@ class Argparse(Configs):
|
|||
if self.utils.is_option(self.flag_searches, self.flags):
|
||||
packages: list = self.choose_packages(packages, command)
|
||||
|
||||
pkgs = SearchPackage(self.flags, self.data, packages, self.repository)
|
||||
pkgs = SearchPackage(self.flags, packages, self.repository)
|
||||
pkgs.search()
|
||||
raise SystemExit()
|
||||
self.usage.help_short(1)
|
||||
|
|
|
@ -11,9 +11,8 @@ from slpkg.binaries.queries import BinQueries
|
|||
class SearchPackage(Configs):
|
||||
""" Search packages from the repositories. """
|
||||
|
||||
def __init__(self, flags: list, data: dict, packages: list, repository: str):
|
||||
def __init__(self, flags: list, packages: list, repository: str):
|
||||
super(Configs, self).__init__()
|
||||
self.data: dict = data
|
||||
self.packages: list = packages
|
||||
self.repository: str = repository
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue