From: Zac Medico Date: Thu, 26 Mar 2009 18:41:10 +0000 (-0000) Subject: In config.setcpv(), clear out self.configdict["pkg"] to make sure that no X-Git-Tag: v2.2_rc28~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fea5dbe742543df98a5fec81f8c3364cbeb03fe3;p=portage.git In config.setcpv(), clear out self.configdict["pkg"] to make sure that no preexisting metadata leaks through here. svn path=/main/trunk/; revision=13188 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index cf80bcfab..a05063651 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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: