Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _createDB(self): """ Create a mounted RAM database """ return DB(TemporaryStorage())
def _createDB(self, db=None): # huh? db=db was original """ Create a mounted RAM database """ db = DB(TemporaryStorage()) # the connection in 2.5.X - 2.6.1 was a "low conflict connection", # but this caused synchronization problems. For 2.6.2, we want # to reenable read conflict errors, so we use a default connection # type. #db.klass = LowConflictConnection return db