From f28b67f3d6910f71e20da86367205f3c3660ff72 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Aug 2020 11:18:29 +0100 Subject: fix imports in dbsearch (no need to import the whole thing), rename it so we have something uniform --- src/frontend/cli/sisyphus-cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index c5c6f25..33a2233 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -97,12 +97,12 @@ def search(package: List[str] = typer.Argument(...), cat, pn = package[0].split('/') else: cat, pn = '', package[0] - sisyphus.dbsearch.showSearch(filter.value, cat, pn, desc, quiet) + sisyphus.searchbinary.start(filter.value, cat, pn, desc, quiet) else: if not package: raise typer.Exit('No search term provided, try: sisyphus search --help') else: - sisyphus.search.start(package) + sisyphus.searchebuild.start(package) @app.command("install") def install(pkgname: List[str], ebuild: bool = typer.Option(False, "--ebuild", "-e")): -- cgit v1.2.3