In config.setcpv(), clear out self.configdict["pkg"] to make sure that no
authorZac Medico <zmedico@gentoo.org>
Thu, 26 Mar 2009 18:41:10 +0000 (18:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 Mar 2009 18:41:10 +0000 (18:41 -0000)
preexisting metadata leaks through here.

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

pym/portage/__init__.py

index cf80bcfab01db4e7470311fe33d4ed991e2b7292..a05063651fa31773ebac87f6beecbcf728d4d334 100644 (file)
@@ -2102,6 +2102,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: