slitaz-forge view bugs/roundup.wsgi @ rev 119

tank: improve Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 14 14:10:53 2012 +0100 (2012-03-14)
parents
children
line source
1 #!/usr/bin/python
3 from wsgiref.simple_server import make_server
5 # obtain the WSGI request dispatcher
6 from roundup.cgi.wsgi_handler import RequestDispatcher
7 tracker_home = '/home/slitaz/bugs'
8 app = RequestDispatcher(tracker_home)
10 httpd = make_server('', 8917, app)
11 httpd.serve_forever()