From ab48ce42feb3cc9fd4cf20eebdd1c5278b75bd19 Mon Sep 17 00:00:00 2001 From: Alex Gr?nholm Date: Mon, 15 Aug 2011 02:08:54 +0300 Subject: Fixed use of the wrong variable when determining the context protocol --- paste/deploy/loadwsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1