summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py1
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: