#!/usr/bin/env python # send python tracebacks to the browser if an error occurs: import cgitb cgitb.enable() # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install from mercurial import hgweb h = hgweb.hgweb("/root/jus", "Jus") h.run()