dbi cdb mapping trying to use a non-existent variable.

This commit is contained in:
Ali Afshar 2005-03-21 15:53:13 +00:00
parent 7aae5ae41e
commit 4404cdc51a

View File

@ -279,7 +279,7 @@ class CdbMapping(MappingInterface):
self.db['nextId'] = '1' self.db['nextId'] = '1'
def _openCdb(self, *args, **kwargs): def _openCdb(self, *args, **kwargs):
self.db = cdb.open(filename, 'c', **kwargs) self.db = cdb.open(self.filename, 'c', **kwargs)
def _getNextId(self): def _getNextId(self):
i = int(self.db['nextId']) i = int(self.db['nextId'])