summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gr?nholm <alex.gronholm@nextday.fi>2011-08-15 02:08:54 +0300
committerAlex Gr?nholm <alex.gronholm@nextday.fi>2011-08-15 02:08:54 +0300
commitab48ce42feb3cc9fd4cf20eebdd1c5278b75bd19 (patch)
tree1cf532870ed8081611768baf3fe2204804400940
parent9779d80019829072589da60094a21e26e3a114e6 (diff)
downloadpastedeploy-git-ab48ce42feb3cc9fd4cf20eebdd1c5278b75bd19.tar.gz
Fixed use of the wrong variable when determining the context protocol
-rw-r--r--paste/deploy/loadwsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/deploy/loadwsgi.py b/paste/deploy/loadwsgi.py
index 42aa9b3..66046c7 100644
--- a/paste/deploy/loadwsgi.py
+++ b/paste/deploy/loadwsgi.py
@@ -493,7 +493,7 @@ class ConfigLoader(_Loader):
# This will work with 'server' and 'filter', otherwise it
# could fail but there is an error message already for
# bad protocols
- context.protocol = 'paste.%s_factory' % context_protocol
+ context.protocol = 'paste.%s_factory' % section_protocol
return context