summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-09 08:05:59 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-09 08:05:59 +0000
commit369fab880132b8cdde19bd7771178be91a7399f0 (patch)
tree3395f6e7cb92c120e053f79f6cda28f52495e10a
parent588f5f6c479b58199849a81b839a34fd20288e93 (diff)
downloadportage-369fab880132b8cdde19bd7771178be91a7399f0.tar.gz
portage-369fab880132b8cdde19bd7771178be91a7399f0.tar.bz2
portage-369fab880132b8cdde19bd7771178be91a7399f0.zip
Fix a type from the previous commit.
svn path=/main/trunk/; revision=5237
-rw-r--r--pym/portage.py3
1 files changed, 1 insertions, 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: