slitaz-forge diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bugs/roundup.wsgi Tue Dec 24 06:53:13 2013 +0000 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/usr/bin/python 1.5 + 1.6 +from wsgiref.simple_server import make_server 1.7 + 1.8 +# obtain the WSGI request dispatcher 1.9 +from roundup.cgi.wsgi_handler import RequestDispatcher 1.10 +tracker_home = '/home/slitaz/bugs' 1.11 +app = RequestDispatcher(tracker_home) 1.12 + 1.13 +httpd = make_server('', 8917, app) 1.14 +httpd.serve_forever()