We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d4138 commit 5d59f6fCopy full SHA for 5d59f6f
roundup/backends/back_metakit.py
@@ -89,6 +89,9 @@ def rollback(self):
89
self.tables = self._db.view('tables')
90
self.indexer.datadb = self._db
91
self.dirty = 0
92
+ def clearCache(self):
93
+ for cl in self.classes.values():
94
+ cl._commit()
95
def clear(self):
96
for cl in self.classes.values():
97
cl._clear()
@@ -181,6 +184,8 @@ def close(self):
181
184
182
185
# --- internal
183
186
def __open(self):
187
+ if not os.path.exists(self.config.DATABASE):
188
+ os.makedirs(self.config.DATABASE)
189
self.dbnm = db = os.path.join(self.config.DATABASE, 'tracker.mk4')
190
lockfilenm = db[:-3]+'lck'
191
self.lockfile = locking.acquire_lock(lockfilenm)
0 commit comments