From e36d804f7c78a6c429520e410aa367b79e7c4a84 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 26 Feb 2006 07:51:21 +0000 Subject: [PATCH] Only write known keys in flat_hash cache entries (filter out UNUSED_* keys). svn path=/main/trunk/; revision=2787 --- pym/cache/flat_hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/cache/flat_hash.py b/pym/cache/flat_hash.py index 6882afd7e..1bdc7cd5b 100644 --- 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() -- 2.26.2