From 8d0fa5407b29605f1b217fc0c9945b9404330970 Mon Sep 17 00:00:00 2001 From: Alex Gr?nholm Date: Tue, 17 May 2011 02:26:43 +0300 Subject: The threadinglocal module is no longer necessary, so replaced the util package with a util module containing the code from fixtypeerror.py --- paste/deploy/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'paste/deploy/config.py') diff --git a/paste/deploy/config.py b/paste/deploy/config.py index d690ff3..562a61f 100644 --- a/paste/deploy/config.py +++ b/paste/deploy/config.py @@ -14,8 +14,7 @@ def local_dict(): try: return config_local.wsgi_dict except NameError: - from paste.deploy.util.threadinglocal import local - config_local = local() + config_local = threading.local() config_local.wsgi_dict = result = {} return result except AttributeError: -- cgit v1.2.1