This code worked perfectly with 0.22 but not with latest trunk:
import web
urls = (
'/(.*)', 'hello'
)
class hello:
def GET(self, name):
i = web.input(times=1)
if not name: name = 'world'
for c in xrange(int(i.times)): print 'Hello,', name+'!'
application = web.wsgifunc(web.webpyfunc(urls, globals()))
and tried as suggested in roadmap:
application = web.application(urls, globals())
always got this error:
AttributeError: application instance has no __call__ method
mod_wsgi (pid=31745): Exception occurred within WSGI script
Anand... have an idea?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---