summaryrefslogtreecommitdiff
path: root/paste/deploy/config.py
diff options
context:
space:
mode:
authorAlex Gr?nholm <alex.gronholm@nextday.fi>2011-05-17 02:26:43 +0300
committerAlex Gr?nholm <alex.gronholm@nextday.fi>2011-05-17 02:26:43 +0300
commit8d0fa5407b29605f1b217fc0c9945b9404330970 (patch)
tree0667502c6f72b8ee3fc5c6b1759658165c0e966c /paste/deploy/config.py
parentd66a3541af72d509c886259a81e2e21d62e03eda (diff)
downloadpastedeploy-8d0fa5407b29605f1b217fc0c9945b9404330970.tar.gz
The threadinglocal module is no longer necessary, so replaced the util package with a util module containing the code from fixtypeerror.py
Diffstat (limited to 'paste/deploy/config.py')
-rw-r--r--paste/deploy/config.py3
1 files changed, 1 insertions, 2 deletions
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: