summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-19 11:27:20 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-19 11:27:20 +0200
commit441784d7b54c5aefe1ba1dd5526bdc5ac960e4e5 (patch)
tree5562fc5377f9592a6293735e8baf78230a1a48a6 /portato/gui/queue.py
parent52f04fc6cccffa7cf31a4d7eab9c9b341f77a293 (diff)
parent48f046aec4df3b09906ca41e2c75ce7e0fb045a6 (diff)
downloadportato-441784d7b54c5aefe1ba1dd5526bdc5ac960e4e5.tar.gz
portato-441784d7b54c5aefe1ba1dd5526bdc5ac960e4e5.tar.bz2
portato-441784d7b54c5aefe1ba1dd5526bdc5ac960e4e5.zip
Merged in unify
Diffstat (limited to 'portato/gui/queue.py')
-rw-r--r--portato/gui/queue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index be43e3a..ce7e620 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -143,7 +143,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)
@@ -272,7 +272,7 @@ class EmergeQueue:
# get the blocks that block an installed package
inst = []
for block in self.blocks[type]:
- pkgs = system.find_installed_packages(block)
+ pkgs = system.find_packages(block, "installed")
if pkgs:
inst.append((pkgs, block))