2007-10-27 | paulb | file changeset files shortlog | [project @ 2007-10-27 21:27:07 by paulb] Switched off error handling in examples. |
paulb@26 | 1 | #!/usr/bin/env python |
paulb@26 | 2 | |
paulb@324 | 3 | from WebStack.Adapters.Twisted import deploy |
paulb@416 | 4 | from Calendar import CalendarResource |
paulb@26 | 5 | |
paulb@265 | 6 | print "Serving..." |
paulb@493 | 7 | |
paulb@493 | 8 | # Choose or customise one of the following if the example fails. |
paulb@493 | 9 | |
paulb@718 | 10 | deploy(CalendarResource(), handle_errors=0) |
paulb@718 | 11 | #deploy(CalendarResource("iso-8859-1"), handle_errors=0) |
paulb@26 | 12 | |
paulb@26 | 13 | # vim: tabstop=4 expandtab shiftwidth=4 |