Created
February 28, 2012 15:41
-
-
Save schu/1933233 to your computer and use it in GitHub Desktop.
bzr.wsgi example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bzrlib.transport.http import wsgi | |
def application(environ, start_response): | |
app = wsgi.make_app( | |
root="/srv/bazaar/repos/", | |
prefix="/bzr", | |
readonly=False, | |
enable_logging=False) | |
return app(environ, start_response) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment