2009-06-22 | Paul Boddie | raw annotate files changeset graph | Added some error handling to the questionnaire application. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.Twisted import deploy 4 import VerySimple 5 6 # Get a simple Web site. 7 8 resource = VerySimple.get_site() 9 10 # Special magic incantation. 11 12 print "Serving..." 13 deploy(resource, handle_errors=0) 14 15 # vim: tabstop=4 expandtab shiftwidth=4