summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/cache/metadata.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/cache/metadata.py b/pym/portage/cache/metadata.py
index c3c83a019..164761adb 100644
--- a/pym/portage/cache/metadata.py
+++ b/pym/portage/cache/metadata.py
@@ -64,6 +64,9 @@ class database(flat_hash.database):
# because it calls reconstruct_eclasses() internally.
d["_eclasses_"] = reconstruct_eclasses(None, d["_eclasses_"])
+ for x in self._known_keys:
+ d.setdefault(x, '')
+
return d