diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-02-12 23:38:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-02-12 23:38:50 +0000 |
| commit | e3a2fef7cc23a4c38c543b8d5a366baf954e12c7 (patch) | |
| tree | 8f9259f16366dfac7e6cb9877a73726a4a3a020b | |
| parent | d068a0424426293a63c99200e9dd0add1edcb27a (diff) | |
Fixed #15289 -- Removed a redundant __getattr__ implementation from the 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
| -rw-r--r-- | django/db/backends/util.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/django/db/backends/util.py b/django/db/backends/util.py index 6438657b71..a9b7b97d23 100644 --- a/django/db/backends/util.py +++ b/django/db/backends/util.py @@ -59,12 +59,6 @@ class CursorDebugWrapper(CursorWrapper): 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) |
