From 1a7609c82994df4c78978073cfa6a5b04335b8ed Mon Sep 17 00:00:00 2001 From: Calvin Cheng Date: Sat, 3 Nov 2012 15:35:23 +0800 Subject: Uncommented out the dummy thread fix by mistake. Adding back in. --- debug_toolbar/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar/middleware.py') 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): -- cgit v1.2.3