def web_daemon(path='.', address=None, port=None):
 from dulwich.web import make_wsgi_chain, make_server, WSGIRequestHandlerLogger, WSGIServerLogger
 backend = FileSystemBackend(path)
 app = make_wsgi_chain(backend)
 server = make_server(address, port, app, handler_class=WSGIRequestHandlerLogger, server_class=WSGIServerLogger)
 server.serve_forever()

def web_daemon ( path = '.' , address = None , port = None ) : from dulwich . web import make_wsgi_chain , make_server , WSGIRequestHandlerLogger , WSGIServerLogger backend = FileSystemBackend ( path ) app = make_wsgi_chain ( backend ) server = make_server ( address , port , app , handler_class = WSGIRequestHandlerLogger , server_class = WSGIServerLogger ) server . serve_forever ( )
run a daemon serving git requests over http .