diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-09 23:24:18 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-09 23:24:18 +0200 |
commit | b166a860bc1d645208b6ecab5270b64fca34188b (patch) | |
tree | bed4d3025498d668f88fdb5ab07949f9b3890e27 /portato/gui/queue.py | |
parent | 107c4cc0c8f0039224505d29707ccc7eda4f5afb (diff) | |
parent | c592c0a400099e442508ec09284e188d03fb5444 (diff) | |
download | portato-b166a860bc1d645208b6ecab5270b64fca34188b.tar.gz portato-b166a860bc1d645208b6ecab5270b64fca34188b.tar.bz2 portato-b166a860bc1d645208b6ecab5270b64fca34188b.zip |
Merged in the portage-2.2 branch
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 4bcd41a..c04d449 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)) |