[Django 1.6] update monkeypatching for CursorDebugWrapper.

(imported from commit cb4b44a2bb6ba6efbd1fb5710da2df7c1dec7f81)
This commit is contained in:
Tim Abbott 2013-11-01 12:25:09 -04:00
parent c03050f2b9
commit 2e833613c3
2 changed files with 0 additions and 2 deletions

View File

@ -177,7 +177,6 @@ class JsonErrorHandler(object):
# Monkeypatch in time tracking to the Django non-debug cursor
# Code comes from CursorDebugWrapper
def wrapper_execute(self, action, sql, params=()):
self.set_dirty()
start = time.time()
try:
return action(sql, params)

View File

@ -93,7 +93,6 @@ def queries_captured():
queries = []
def wrapper_execute(self, action, sql, params=()):
self.set_dirty()
start = time.time()
try:
return action(sql, params)