From b73a4762ec3a11a4ff7873738d0167a86d93d1c5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 14 Sep 2009 07:59:47 +0000 Subject: [PATCH] Insice match_from_list(), use remove_slot() instead of dep_getcpv() where appropriate. svn path=/main/trunk/; revision=14261 --- pym/portage/dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2