summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 2948ba6a4..614f6dec3 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -263,7 +263,8 @@ class portdbapi(dbapi):
# if newer version, wipe everything and negate eapi
eapi = metadata["EAPI"]
metadata = {}
- map(lambda x: metadata.setdefault(x, ""), auxdbkeys)
+ for x in self._known_keys:
+ metadata.setdefault(x, "")
metadata["EAPI"] = "-" + eapi
if metadata.get("INHERITED", False):