1. Ian Bicking
  2. PasteDeploy

Commits

Alex Grönholm  committed 6049544

Fixed use of the wrong variable when determining the context protocol

  • Participants
  • Parent commits 9921ad7
  • Branches default

Comments (0)

Files changed (1)

File paste/deploy/loadwsgi.py

View file
                 # 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