1
from ZODB import DB, FileStorage
5
def __init__(self, path):
6
self.storage = FileStorage.FileStorage(path)
7
self.db = DB(self.storage)
8
self.connection = self.db.open()
9
self.root = self.connection.root()
14
def close(self, commit=True):
15
if commit: self.commit()
16
self.connection.close()
b'\\ No newline at end of file'