In config.setcpv(), clear out self.configdict["pkg"] to make sure that no
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Mar 2009 04:31:09 +0000 (04:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Mar 2009 04:31:09 +0000 (04:31 -0000)
preexisting metadata leaks through here. (trunk r13188)

svn path=/main/branches/2.1.6/; revision=13217

pym/portage/__init__.py

index 2da6f3cf78c306c67e46c1308dcac698b6a7c0c3..83d8178fcd2d6b7c620dd71708d11ca399a8f1f5 100644 (file)
@@ -2092,6 +2092,7 @@ class config(object):
                env_configdict = self.configdict["env"]
                pkg_configdict = self.configdict["pkg"]
                previous_iuse = pkg_configdict.get("IUSE")
+               pkg_configdict.clear()
                pkg_configdict["CATEGORY"] = cat
                pkg_configdict["PF"] = pf
                if mydb: