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

mirror: add QR code (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 19:56:45 2013 +0100 (2013-03-20)
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()