projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f20727
)
Make it possible to pass alternative cache implementations into the constructor as...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 03:53:16 +0000
(
03:53
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 21 Jun 2006 03:53:16 +0000
(
03:53
-0000)
svn path=/main/branches/2.1/; revision=3579
pym/cache/metadata_overlay.py
patch
|
blob
|
history
diff --git
a/pym/cache/metadata_overlay.py
b/pym/cache/metadata_overlay.py
index 104dc34d1556753f9e467cebb1cc893b861d1864..b12740bdb16de52b3638e11aa26e7c8f0952ecad 100644
(file)
--- a/
pym/cache/metadata_overlay.py
+++ b/
pym/cache/metadata_overlay.py
@@
-14,7
+14,8
@@
class database(template.database):
autocommits = True
serialize_eclasses = False
- def __init__(self, location, label, auxdbkeys, **config):
+ def __init__(self, location, label, auxdbkeys, db_rw=db_rw, db_ro=db_ro,
+ **config):
super(database, self).__init__(location, label, auxdbkeys)
self.db_rw = db_rw(location, label, auxdbkeys, **config)
self.db_ro = db_ro(label,"metadata/cache",auxdbkeys)