Removed more redundant code from the debug cursor wrapper. Thanks to Ramiro for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e3a2fef7cc
commit
c40a1d1835
|
@ -59,9 +59,6 @@ class CursorDebugWrapper(CursorWrapper):
|
||||||
extra={'duration':duration, 'sql':sql, 'params':param_list}
|
extra={'duration':duration, 'sql':sql, 'params':param_list}
|
||||||
)
|
)
|
||||||
|
|
||||||
def __iter__(self):
|
|
||||||
return iter(self.cursor)
|
|
||||||
|
|
||||||
|
|
||||||
###############################################
|
###############################################
|
||||||
# Converters from database (string) to Python #
|
# Converters from database (string) to Python #
|
||||||
|
|
Loading…
Reference in New Issue