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
1 changed files with 1 additions and 1 deletions

View File

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