summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-14 07:59:47 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-14 07:59:47 +0000
commitb73a4762ec3a11a4ff7873738d0167a86d93d1c5 (patch)
tree293664c2fcb4af3ae34e96a8463b8073601bd425
parentce687962e8c9668b1f2db65b19664c265fcc22b4 (diff)
downloadportage-b73a4762ec3a11a4ff7873738d0167a86d93d1c5.tar.gz
portage-b73a4762ec3a11a4ff7873738d0167a86d93d1c5.tar.bz2
portage-b73a4762ec3a11a4ff7873738d0167a86d93d1c5.zip
Insice match_from_list(), use remove_slot() instead of dep_getcpv() where
appropriate. svn path=/main/trunk/; revision=14261
-rw-r--r--pym/portage/dep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py
index 12e26ab87..782405f49 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -1123,7 +1123,7 @@ def match_from_list(mydep, candidate_list):
for x in candidate_list:
xcpv = getattr(x, "cpv", None)
if xcpv is None:
- xcpv = dep_getcpv(x)
+ xcpv = remove_slot(x)
if not cpvequal(xcpv, mycpv):
continue
mylist.append(x)