From 9ea619cd8cf630016ac2e38988bf7e5a86e06559 Mon Sep 17 00:00:00 2001 From: bionel Date: Tue, 18 Aug 2020 15:19:56 +0300 Subject: default no longer needed here --- src/backend/searchbinary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/searchbinary.py') diff --git a/src/backend/searchbinary.py b/src/backend/searchbinary.py index 89ee5cb..d4ce032 100644 --- a/src/backend/searchbinary.py +++ b/src/backend/searchbinary.py @@ -101,7 +101,7 @@ def searchDB(filter, cat = '', pn = '', desc = ''): def tosql(string): return '%%' if string == '' else string.replace('*', '%').replace('?', '_') -def showSearch(filter, cat, pn, desc, single = False): +def showSearch(filter, cat, pn, desc, single): print(f"Looking for {filter} matching packages ...\n") pkglist = searchDB(filter, tosql(cat), tosql(pn), tosql(desc)) @@ -126,7 +126,7 @@ def showSearch(filter, cat, pn, desc, single = False): print("To search for source packages, use the '--ebuild' option.") -def start(filter, cat, pn, desc, single = False): +def start(filter, cat, pn, desc, single): if sisyphus.check.root() == 0: sisyphus.update.start() else: -- cgit v1.2.3