diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-26 18:41:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-26 18:41:10 +0000 |
commit | fea5dbe742543df98a5fec81f8c3364cbeb03fe3 (patch) | |
tree | 5317c48300982eaba9a92eb606636e46b1a1e2b6 | |
parent | 172f1b5c4f1ae5e64098f7e9438d36ebc3c2241f (diff) | |
download | portage-fea5dbe742543df98a5fec81f8c3364cbeb03fe3.tar.gz portage-fea5dbe742543df98a5fec81f8c3364cbeb03fe3.tar.bz2 portage-fea5dbe742543df98a5fec81f8c3364cbeb03fe3.zip |
In config.setcpv(), clear out self.configdict["pkg"] to make sure that no
preexisting metadata leaks through here.
svn path=/main/trunk/; revision=13188
-rw-r--r-- | pym/portage/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |