summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-19 08:47:11 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-19 08:47:11 +0000
commit0e25e5158634241e0db8b166f22c5d224abfb0c1 (patch)
tree0f78bdee952316e8252c89c8c5dc90341caba2a2 /pym
parent0ae2d2911e58216911600df700a9787bcf1bc3b9 (diff)
downloadportage-0e25e5158634241e0db8b166f22c5d224abfb0c1.tar.gz
portage-0e25e5158634241e0db8b166f22c5d224abfb0c1.tar.bz2
portage-0e25e5158634241e0db8b166f22c5d224abfb0c1.zip
When showing an unsatisfied dep, never include installed packages.
svn path=/main/trunk/; revision=9360
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index e31ea27ee..d1e3889a3 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2493,6 +2493,8 @@ class depgraph(object):
portdb = self.roots[root].trees["porttree"].dbapi
dbs = self._filtered_trees[root]["dbs"]
for db, pkg_type, built, installed, db_keys in dbs:
+ if installed:
+ continue
match = db.match
if hasattr(db, "xmatch"):
cpv_list = db.xmatch("match-all", atom)