summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-08 17:57:59 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-08 17:57:59 +0000
commitb7213e5891915597f997b8dfd051d2123ec062b0 (patch)
tree5cf0273a91c3791b3f492eb8fc06d7f2e2991286
parente2952e535ce0561f6a45167ee4458edda2859428 (diff)
downloadportage-b7213e5891915597f997b8dfd051d2123ec062b0.tar.gz
portage-b7213e5891915597f997b8dfd051d2123ec062b0.tar.bz2
portage-b7213e5891915597f997b8dfd051d2123ec062b0.zip
Fix --update greedy atoms logic so that it only pulls in packages that
actually match the given atom. svn path=/main/trunk/; revision=9755
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index ed0b8aafa..96c4cbbc4 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2222,7 +2222,7 @@ class depgraph(object):
continue
atom_cp = portage.dep_getkey(arg.atom)
slots = set()
- for cpv in vardb.match(atom_cp):
+ for cpv in vardb.match(arg.atom):
slots.add(vardb.aux_get(cpv, ["SLOT"])[0])
for slot in slots:
greedy_atoms.append(