projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c694431
)
Fix it so that values are properly saved in the writable layer. Previously they...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 02:56:24 +0000
(
02:56
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 02:56:24 +0000
(
02:56
-0000)
svn path=/main/branches/2.1/; revision=3571
pym/cache/metadata_overlay.py
patch
|
blob
|
history
diff --git
a/pym/cache/metadata_overlay.py
b/pym/cache/metadata_overlay.py
index 557855a52135de1b8633a79cd5f46161efb7eb55..104dc34d1556753f9e467cebb1cc893b861d1864 100644
(file)
--- 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