Fix erroneous variable references in the multiset 'Redefinition of set'
authorZac Medico <zmedico@gentoo.org>
Sun, 21 Sep 2008 05:30:37 +0000 (05:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 Sep 2008 05:30:37 +0000 (05:30 -0000)
message.

svn path=/main/trunk/; revision=11528

pym/portage/sets/__init__.py

index d688164b58246c5ebde28f1000c37a9bfcaacecb..f88e1b6ee8fcab466b7fa9674d750cd51a0d0f06 100644 (file)
@@ -65,7 +65,7 @@ class SetConfig(SafeConfigParser):
                                                continue
                                        for x in newsets:
                                                if x in self.psets:
-                                                       self.errors.append("Redefinition of set '%s' (sections: '%s', '%s')" % (setname, self.psets[setname].creator, sname))
+                                                       self.errors.append("Redefinition of set '%s' (sections: '%s', '%s')" % (x, self.psets[x].creator, sname))
                                                newsets[x].creator = sname
                                                if self.has_option(sname, "world-candidate") and not self.getboolean(sname, "world-candidate"):
                                                        newsets[x].world_candidate = False