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
commit212f8b00f0943fa17ca67502bd44cd9152531823 (patch)
tree1cf532870ed8081611768baf3fe2204804400940
parent3a295c12e9a2f5c4aa89e05f89af041a2f464174 (diff)
downloadpastedeploy-212f8b00f0943fa17ca67502bd44cd9152531823.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