2007-11-24 | paulb | raw annotate files changeset graph | [project @ 2007-11-24 01:38:44 by paulb] Made distinct packages for the OpenIDLogin and SimpleWithOpenID examples. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 from OpenIDLogin import get_site_map 5 6 app_url = "http://localhost:8081" # No trailing "/"! 7 resource = get_site_map(app_url) 8 9 print "Serving..." 10 deploy(resource, address=("", 8081), handle_errors=0) 11 12 # vim: tabstop=4 expandtab shiftwidth=4