diff options
-rw-r--r-- | pym/portage/cache/flat_hash.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/cache/flat_hash.py b/pym/portage/cache/flat_hash.py index 80b23fe4d..ed1eebd12 100644 --- a/pym/portage/cache/flat_hash.py +++ b/pym/portage/cache/flat_hash.py @@ -72,6 +72,8 @@ class database(fs_template.FsBased): raise cache_errors.CacheCorruption(cpv, e) for k, v in values.iteritems(): + if not v: + continue if k != "_mtime_" and (k == "_eclasses_" or k in self._known_keys): myf.write("%s=%s\n" % (k, v)) |