Fix "ProgrammingError" undefined in dbsqlite

This commit is contained in:
Thomas Perl 2010-05-17 18:29:40 +02:00
parent 26531983f1
commit 44aae8f0ad
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Database(object):
try:
self.log("COMMIT")
self.db.commit()
except ProgrammingError, e:
except Exception, e:
log('Error commiting changes: %s', e, sender=self, traceback=True)
self.lock.release()