Ticket #13813: 13818.diff
File 13818.diff, 559 bytes (added by , 14 years ago) |
---|
-
db/backends/__init__.py
diff --git a/db/backends/__init__.py b/google3/third_party/py/django/v1_2/db/backends/__init__.py index 5918935..cd5e480 100755
a b class BaseDatabaseWrapper(local): 22 22 self.alias = alias 23 23 24 24 def __eq__(self, other): 25 return self.settings_dict == other.settings_dict 25 try: 26 return self.settings_dict == other.settings_dict 27 except AttributeError: 28 return False 26 29 27 30 def __ne__(self, other): 28 31 return not self == other