Fix previous merge (again).

This commit is contained in:
Valentin Lorentz 2014-01-03 17:48:30 +00:00
parent 4a9d3ccd3e
commit b44a08d2bd

View File

@ -161,7 +161,8 @@ class FlatfileMapping(MappingInterface):
self.currentId = 0
self._incrementCurrentId()
finally:
fd.close()
if 'fd' in locals():
fd.close()
def _canonicalId(self, id):
if id is not None: