summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/cache/metadata_overlay.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/cache/metadata_overlay.py b/pym/cache/metadata_overlay.py
index 557855a52..104dc34d1 100644
--- a/pym/cache/metadata_overlay.py
+++ b/pym/cache/metadata_overlay.py
@@ -44,8 +44,10 @@ class database(template.database):
del self.db_rw[name] # delete unwanted whiteout when necessary
except KeyError:
pass
+ return
except KeyError:
- self.db_rw[name] = values
+ pass
+ self.db_rw[name] = values
def _delitem(self, cpv):
value = self[cpv] # validates whiteout and/or raises a KeyError when necessary