summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-05-21 20:27:05 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-05-21 20:27:05 +0200
commit9ecb704361e551d02ef0a9d4a88f217e59e48c8d (patch)
tree735112198c67ad3590298ac711b7dfb108aa8532 /portato/gui/queue.py
parentadb8acd0b90992a8281494c76d30a529bde45fea (diff)
downloadportato-9ecb704361e551d02ef0a9d4a88f217e59e48c8d.tar.gz
portato-9ecb704361e551d02ef0a9d4a88f217e59e48c8d.tar.bz2
portato-9ecb704361e551d02ef0a9d4a88f217e59e48c8d.zip
Ported to new find_packages API
Diffstat (limited to '')
-rw-r--r--portato/gui/queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index eb0a43e..a75048d 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -139,7 +139,7 @@ class EmergeQueue:
try:
pkg = self._get_pkg_from_cpv(cpv, unmask)
if not pkg.is_installed():
- old = system.find_installed_packages(pkg.get_slot_cp())
+ old = system.find_packages(pkg.get_slot_cp(), "installed")
if old:
old = old[0] # assume we have only one there
cmp = pkg.compare_version(old)