summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2020-08-18 15:19:56 +0300
committerbionel <ionel.busuioc@gmail.com>2020-08-18 15:28:31 +0300
commit9ea619cd8cf630016ac2e38988bf7e5a86e06559 (patch)
treec254bc8f141394e26ea6a850af58306c4fbfc665 /src
parente67f41168f30aab6de316be5be4701be6a62fd49 (diff)
default no longer needed here
Diffstat (limited to 'src')
-rw-r--r--src/backend/searchbinary.py4
1 files changed, 2 insertions, 2 deletions
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: