Fix accidental usage of global settings instead of self.
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Apr 2006 08:56:43 +0000 (08:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Apr 2006 08:56:43 +0000 (08:56 -0000)
svn path=/main/trunk/; revision=3207

pym/portage.py

index 27891b6e9530fb4d434f9703a090bff86bafc8d9..d0266bb5f8de1bd8ed9b095a110b3a8bcebb0322 100644 (file)
@@ -1645,7 +1645,7 @@ class config:
 
        def thirdpartymirrors(self):
                profileroots = [os.path.join(self["PORTDIR"], "profiles")]
-               for x in settings["PORTDIR_OVERLAY"].split():
+               for x in self["PORTDIR_OVERLAY"].split():
                        profileroots.insert(0, os.path.join(x, "profiles"))
                thirdparty_lists = [grabdict(os.path.join(x, "thirdpartymirrors")) for x in profileroots]
                return stack_dictlist(thirdparty_lists, incremental=True)