diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-09 22:00:49 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-09 22:00:49 +0200 |
commit | 01fa05da0d80aab1aa1526a5302b3a798d0f0179 (patch) | |
tree | 90d4d694eb62fd707a64e19d6ac26a6f125d16ee /portato/gui/queue.py | |
parent | 09f790063e70515fbcb828676f639740b1c67885 (diff) | |
download | portato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.tar.gz portato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.tar.bz2 portato-01fa05da0d80aab1aa1526a5302b3a798d0f0179.zip |
Renamed generic package sets
Diffstat (limited to '')
-rw-r--r-- | portato/gui/queue.py | 4 |
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)) |