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

cook: add backports
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 24 06:53:13 2013 +0000 (2013-12-24)
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()