From: Zac Medico Date: Mon, 14 Sep 2009 07:59:47 +0000 (-0000) Subject: Insice match_from_list(), use remove_slot() instead of dep_getcpv() where X-Git-Tag: v2.2_rc41~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b73a4762ec3a11a4ff7873738d0167a86d93d1c5;p=portage.git Insice match_from_list(), use remove_slot() instead of dep_getcpv() where appropriate. svn path=/main/trunk/; revision=14261 --- 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)