Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Russell Keith-Magee authored February 12, 2011

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. 6  django/db/backends/util.py
6  django/db/backends/util.py
@@ -59,12 +59,6 @@ def executemany(self, sql, param_list):
59 59
                 extra={'duration':duration, 'sql':sql, 'params':param_list}
60 60
             )
61 61
 
62  
-    def __getattr__(self, attr):
63  
-        if attr in self.__dict__:
64  
-            return self.__dict__[attr]
65  
-        else:
66  
-            return getattr(self.cursor, attr)
67  
-
68 62
     def __iter__(self):
69 63
         return iter(self.cursor)
70 64
 

0 notes on commit e3a2fef

Please sign in to comment.
Something went wrong with that request. Please try again.