[py3] Fixed backends tests.

This commit is contained in:
Aymeric Augustin 2012-08-18 11:02:38 +02:00
parent c03cf0b096
commit f34de7dd6e
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ class BaseDatabaseWrapper(object):
def __ne__(self, other):
return not self == other
__hash__ = object.__hash__
def _commit(self):
if self.connection is not None:
return self.connection.commit()