Skip to content

Instantly share code, notes, and snippets.

@jun66j5
Created January 17, 2012 06:02
Show Gist options
  • Save jun66j5/1625086 to your computer and use it in GitHub Desktop.
Save jun66j5/1625086 to your computer and use it in GitHub Desktop.
tram/standalone.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from trac.web import standalone
from tram.main import dispatch_request
# XXX Monkey patch!
standalone.dispatch_request = dispatch_request
standalone.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment