diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-22 03:51:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-22 03:51:45 +0000 |
commit | bba07b80ba3e86bd3dcbc0eb5edc50fb95d7188f (patch) | |
tree | 4eb282e4971de448c918f38c68ecca79f9db36b8 | |
parent | 4e858d4d243362e10baeb35988f2a8396dc6c926 (diff) | |
download | portage-bba07b80ba3e86bd3dcbc0eb5edc50fb95d7188f.tar.gz portage-bba07b80ba3e86bd3dcbc0eb5edc50fb95d7188f.tar.bz2 portage-bba07b80ba3e86bd3dcbc0eb5edc50fb95d7188f.zip |
Make sure the dict returned from _parse_data() contains all of _known_keys.
svn path=/main/trunk/; revision=12028
-rw-r--r-- | pym/portage/cache/metadata.py | 3 |
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 |