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 <[EMAIL PROTECTED]>
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to