Skip to content

Instantly share code, notes, and snippets.

@schu
Created February 28, 2012 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schu/1933233 to your computer and use it in GitHub Desktop.
Save schu/1933233 to your computer and use it in GitHub Desktop.
bzr.wsgi example
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