Fix a type from the previous commit.
authorZac Medico <zmedico@gentoo.org>
Sat, 9 Dec 2006 08:05:59 +0000 (08:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Dec 2006 08:05:59 +0000 (08:05 -0000)
svn path=/main/trunk/; revision=5237

pym/portage.py

index d07089a42009fd4569936744f4a472a021376d0b..ce1072f7841a36328849d6094aeea7a6b27bdfd9 100644 (file)
@@ -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: