From: Zac Medico Date: Sat, 9 Dec 2006 08:05:59 +0000 (-0000) Subject: Fix a type from the previous commit. X-Git-Tag: v2.1.2~347 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=369fab880132b8cdde19bd7771178be91a7399f0;p=portage.git Fix a type from the previous commit. svn path=/main/trunk/; revision=5237 --- 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: