def connect(self, filename): import supybot.cdb as cdb basename = os.path.basename(filename) journalName = supybot.directories.data.tmp.dirize(basename+'.journal') return cdb.open(filename, 'c', journalName=journalName, maxmods=self.maximumModifications())
def connect(self, filename): import supybot.cdb as cdb basename = os.path.basename(filename) journalName = supybot.directories.data.tmp.dirize(basename + '.journal') return cdb.open(filename, 'c', journalName=journalName, maxmods=self.maximumModifications())
def _openCdb(self, *args, **kwargs): self.db = cdb.open(self.filename, 'c', **kwargs)
def __init__(self, filename): self.db = cdb.open(filename + '.tracker', 'c')
def __init__(self, filename): self.db = cdb.open(filename + '.reviews', 'c')