summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-09 22:00:49 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-09 22:00:49 +0200
commit01fa05da0d80aab1aa1526a5302b3a798d0f0179 (patch)
tree90d4d694eb62fd707a64e19d6ac26a6f125d16ee /portato/gui/queue.py
parent09f790063e70515fbcb828676f639740b1c67885 (diff)
downloadportato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.tar.gz
portato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.tar.bz2
portato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.zip
Renamed generic package sets
Diffstat (limited to '')
-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 ce7e620..cb5b334 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_packages(pkg.get_slot_cp(), "installed")
+ old = system.find_packages(pkg.get_slot_cp(), system.SET_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_packages(block, "installed")
+ pkgs = system.find_packages(block, system.SET_INSTALLED)
if pkgs:
inst.append((pkgs, block))