projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20814d4
)
Only write known keys in flat_hash cache entries (filter out UNUSED_* keys).
author
Zac Medico
<zmedico@gentoo.org>
Sun, 26 Feb 2006 07:51:21 +0000
(07:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 26 Feb 2006 07:51:21 +0000
(07:51 -0000)
svn path=/main/trunk/; revision=2787
pym/cache/flat_hash.py
patch
|
blob
|
history
diff --git
a/pym/cache/flat_hash.py
b/pym/cache/flat_hash.py
index 6882afd7e1483e51ae61cffa563e82d48f8713a1..1bdc7cd5b439f9a788a772e277940f01535e6a13 100644
(file)
--- a/
pym/cache/flat_hash.py
+++ b/
pym/cache/flat_hash.py
@@
-81,7
+81,7
@@
class database(fs_template.FsBased):
raise cache_errors.CacheCorruption(cpv, e)
for k, v in values.items():
- if k != "_mtime_":
+ if k != "_mtime_"
and (k == "_eclasses_" or k in self._known_keys)
:
myf.writelines("%s=%s\n" % (k, v))
myf.close()