Example #1
0
 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())
Example #2
0
 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())
Example #3
0
 def _openCdb(self, *args, **kwargs):
     self.db = cdb.open(self.filename, 'c', **kwargs)
Example #4
0
 def _openCdb(self, *args, **kwargs):
     self.db = cdb.open(self.filename, 'c', **kwargs)
Example #5
0
 def __init__(self, filename):
     self.db = cdb.open(filename + '.tracker', 'c')
Example #6
0
 def __init__(self, filename):
     self.db = cdb.open(filename + '.reviews', 'c')