From: Zac Medico Date: Fri, 27 Mar 2009 04:31:09 +0000 (-0000) Subject: In config.setcpv(), clear out self.configdict["pkg"] to make sure that no X-Git-Tag: v2.1.6.11~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=594579b0d86ac3071f0fc427f492d346f481e33d;p=portage.git In config.setcpv(), clear out self.configdict["pkg"] to make sure that no preexisting metadata leaks through here. (trunk r13188) svn path=/main/branches/2.1.6/; revision=13217 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 2da6f3cf7..83d8178fc 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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: