Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #15289 -- Removed a redundant __getattr__ implementation from t…

…he debug SQL cursor wrapper. Thanks to Apollo13 for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e3a2fef7cc23a4c38c543b8d5a366baf954e12c7 1 parent d068a04
@freakboy3742 freakboy3742 authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 django/db/backends/util.py
View
6 django/db/backends/util.py
@@ -59,12 +59,6 @@ def executemany(self, sql, param_list):
extra={'duration':duration, 'sql':sql, 'params':param_list}
)
- def __getattr__(self, attr):
- if attr in self.__dict__:
- return self.__dict__[attr]
- else:
- return getattr(self.cursor, attr)
-
def __iter__(self):
return iter(self.cursor)
Please sign in to comment.
Something went wrong with that request. Please try again.