From 369fab880132b8cdde19bd7771178be91a7399f0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 9 Dec 2006 08:05:59 +0000 Subject: [PATCH] Fix a type from the previous commit. svn path=/main/trunk/; revision=5237 --- pym/portage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index d07089a42..ce1072f78 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4408,8 +4408,7 @@ class fakedbapi(dbapi): if mycpv != cpv: other_metadata = self.cpvdict[cpv] if other_metadata: - other_slot = metadata.get("SLOT", None) - if myslot == other_slot: + if myslot == other_metadata.get("SLOT", None): self.cpv_remove(cpv) break if mycp not in self.cpdict: -- 2.26.2