Tried to move some reusable output into __init__ but suddenly my app
can't find environ. I had been getting environ in __call__ saying
this:

__call__(self, environ, startResponse)

however trying the same in __init__ fails:

TypeError: __init__() takes exactly 3 positional arguments (1 given)

What do I need to do to get the environ dict in__init__??

I did try some stuff from
http://blog.dscpl.com.au/2011/01/implementing-wsgi-application-objects.html

but all failed with various errors.

-- Gnarlie

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to