1.1 --- a/examples/WSGI/CalendarHandler.py Thu Mar 24 17:41:03 2005 +0000
1.2 +++ b/examples/WSGI/CalendarHandler.py Thu Mar 24 17:41:17 2005 +0000
1.3 @@ -6,13 +6,9 @@
1.4 sys.path.append("/home/paulb/Software/Python/WebStack")
1.5 sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common")
1.6
1.7 -from WebStack.Adapters import WSGI
1.8 +from WebStack.Adapters.WSGI import deploy
1.9 from Calendar import DirectoryResource
1.10 -from wsgi_cgi import run_with_cgi
1.11
1.12 -# Special magic incantation.
1.13 -
1.14 -handler = WSGI.WSGIAdapter(DirectoryResource())
1.15 -run_with_cgi(handler)
1.16 +deploy(DirectoryResource())
1.17
1.18 # vim: tabstop=4 expandtab shiftwidth=4