1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +00:00

[py3] Fixed backends tests.

This commit is contained in:
Aymeric Augustin 2012-08-18 11:02:38 +02:00
parent c03cf0b096
commit f34de7dd6e

View File

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