From: Zac Medico Date: Wed, 30 May 2007 02:23:36 +0000 (-0000) Subject: Fix slot handling at the beginning of match_from_list(). X-Git-Tag: v2.2_pre1~1339 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc076b03ce16db9b139b8e4ec63174fddf883468;p=portage.git Fix slot handling at the beginning of match_from_list(). svn path=/main/trunk/; revision=6669 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 1252b5d26..1864f1983 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -635,13 +635,12 @@ def match_from_list(mydep, candidate_list): mycpv = dep_getcpv(mydep) mycpv_cps = catpkgsplit(mycpv) # Can be None if not specific - slot = None + slot = dep_getslot(mydep) if not mycpv_cps: cat, pkg = catsplit(mycpv) ver = None rev = None - slot = dep_getslot(mydep) else: cat, pkg, ver, rev = mycpv_cps if mydep == mycpv: