aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorCalvin Cheng2012-11-03 15:35:23 +0800
committerCalvin Cheng2012-11-03 15:35:23 +0800
commit1a7609c82994df4c78978073cfa6a5b04335b8ed (patch)
tree163ef1da32547ae021f4f6906292d09acc3f8d44 /debug_toolbar/middleware.py
parentf3d5bb79b0a7ceb4f507e8f68a40df408c8176d6 (diff)
downloaddjango-debug-toolbar-1a7609c82994df4c78978073cfa6a5b04335b8ed.tar.bz2
Uncommented out the dummy thread fix by mistake. Adding back in.
Diffstat (limited to 'debug_toolbar/middleware.py')
-rw-r--r--debug_toolbar/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py
index 970d421..b3fc9e3 100644
--- a/debug_toolbar/middleware.py
+++ b/debug_toolbar/middleware.py
@@ -14,7 +14,7 @@ import debug_toolbar.urls
from debug_toolbar.toolbar.loader import DebugToolbar
_HTML_TYPES = ('text/html', 'application/xhtml+xml')
-#threading._DummyThread._Thread__stop = lambda x: 1 # Handles python threading module bug - http://bugs.python.org/issue14308
+threading._DummyThread._Thread__stop = lambda x: 1 # Handles python threading module bug - http://bugs.python.org/issue14308
def replace_insensitive(string, target, replacement):