XSLTools

examples/BaseHTTPRequestHandler/RecursiveApp.py

687:ae7bdbf61e32
2009-06-22 Paul Boddie Added some error handling to the questionnaire application.
     1 #!/usr/bin/env python     2      3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy     4 import Recursive     5      6 # Get a simple Web site.     7      8 resource = Recursive.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