Kaydet (Commit) c40a1d18 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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
üst e3a2fef7
...@@ -59,9 +59,6 @@ class CursorDebugWrapper(CursorWrapper): ...@@ -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 #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment