[Web-SIG] minor bug in PEP 333 example

Doug Porter dsp at dsp.name
Sun Apr 2 23:58:13 CEST 2006


There is a minor bug in the middleware example in PEP 333.


--- pep-0333.txt.orig   Sun Apr  2 17:52:46 2006
+++ pep-0333.txt        Sun Apr  2 17:53:02 2006
@@ -352,7 +352,7 @@
         def __init__(self, application):
             self.application = application
 
-        def __call__(environ, start_response):
+        def __call__(self, environ, start_response):
             
             transform_ok = []
             


-- 
Doug Porter <dsp at dsp.name>


More information about the Web-SIG mailing list