1.1 --- a/examples/WSGI/CalendarHandler.py Thu Sep 27 22:40:25 2007 +0000
1.2 +++ b/examples/WSGI/CalendarHandler.py Thu Sep 27 22:48:48 2007 +0000
1.3 @@ -7,12 +7,12 @@
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.WSGI import deploy
1.8 +from WebStack.Adapters.WSGI import deploy_as_cgi
1.9 from Calendar import CalendarResource
1.10
1.11 # Choose or customise one of the following if the example fails.
1.12
1.13 -deploy(CalendarResource())
1.14 -#deploy(CalendarResource("iso-8859-1"))
1.15 +deploy_as_cgi(CalendarResource())
1.16 +#deploy_as_cgi(CalendarResource("iso-8859-1"))
1.17
1.18 # vim: tabstop=4 expandtab shiftwidth=4