From b4c02761c93b4a68dd7166366e332734e7f54647 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 May 2007 02:24:26 +0000 Subject: [PATCH] Fix slot handling at the beginning of match_from_list(). (trunk r6669) svn path=/main/branches/2.1.2/; revision=6670 --- 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 ec590f20f..605dabff3 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -549,13 +549,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