From cc076b03ce16db9b139b8e4ec63174fddf883468 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 May 2007 02:23:36 +0000 Subject: [PATCH] Fix slot handling at the beginning of match_from_list(). svn path=/main/trunk/; revision=6669 --- pym/portage/dep.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.26.2