def startup(self, *args, **kwargs):
'''Supports path= to specify a location, otherwise assumes the
current directory.
'''
path = kwargs.get('path', '.')
self._path = '%s/%s' % (path, self.name)
self._db = dbm.open(self._path, 'c')
return [ ]
评论列表
文章目录