summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/cache/metadata_overlay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/metadata_overlay.py b/pym/cache/metadata_overlay.py
index fc99b4011..914285b3d 100644
--- a/pym/cache/metadata_overlay.py
+++ b/pym/cache/metadata_overlay.py
@@ -12,7 +12,6 @@ from cache.metadata import database as db_ro
class database(template.database):
- autocommits = True
serialize_eclasses = False
def __init__(self, location, label, auxdbkeys, db_rw=db_rw, db_ro=db_ro,
@@ -20,6 +19,7 @@ class database(template.database):
super(database, self).__init__(location, label, auxdbkeys)
self.db_rw = db_rw(location, label, auxdbkeys, **config)
self.commit = self.db_rw.commit
+ self.autocommits = self.db_rw.autocommits
if isinstance(db_ro, type):
ro_config = config.copy()
ro_config["readonly"] = True