summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-05-21 20:29:51 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-05-21 20:29:51 +0200
commit3023e6997fbd591667398b992c490d237205c85b (patch)
treeab30cf7f0cbf79c9524a66aadba7ebf1aea877e2 /portato/gui
parent9ecb704361e551d02ef0a9d4a88f217e59e48c8d (diff)
downloadportato-3023e6997fbd591667398b992c490d237205c85b.tar.gz
portato-3023e6997fbd591667398b992c490d237205c85b.tar.bz2
portato-3023e6997fbd591667398b992c490d237205c85b.zip
Ported to new find_packages API #2: withVersion --> with_version
Diffstat (limited to '')
-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()