From 594579b0d86ac3071f0fc427f492d346f481e33d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Mar 2009 04:31:09 +0000 Subject: [PATCH] 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 --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.26.2