summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/utils.py4
-rw-r--r--portato/gui/windows/main.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/utils.py b/portato/gui/utils.py
index 01a6b2f..7a3e8ee 100644
--- a/portato/gui/utils.py
+++ b/portato/gui/utils.py
@@ -165,8 +165,8 @@ class Database (object):
"""
# get the lists
- packages = system.find_packages(category, withVersion = False)
- installed = system.find_packages(category, set = "installed", withVersion = False)
+ packages = system.find_packages(category, with_version = False)
+ installed = system.find_packages(category, set = "installed", with_version = False)
# cycle through packages
for p in packages:
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 787bb28..2c9eade 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -1428,7 +1428,7 @@ class MainWindow (Window):
if "/" not in text:
text = "/.*"+text # only look for package names
- packages = system.find_packages(text, withVersion = False)
+ packages = system.find_packages(text, with_version = False)
if packages == []:
nothing_found_dialog()