equal
deleted
inserted
replaced
7 |
7 |
8 # Uncomment and adjust if Mercurial is not installed system-wide |
8 # Uncomment and adjust if Mercurial is not installed system-wide |
9 # (consult "installed modules" path from 'hg debuginstall'): |
9 # (consult "installed modules" path from 'hg debuginstall'): |
10 # import sys; sys.path.insert(0, "/path/to/python/lib") |
10 # import sys; sys.path.insert(0, "/path/to/python/lib") |
11 |
11 |
12 # Uncomment to send python tracebacks to the browser if an error occurs: |
|
13 # import cgitb; cgitb.enable() |
|
14 |
|
15 from mercurial import demandimport |
12 from mercurial import demandimport |
16 |
13 |
17 demandimport.enable() |
14 demandimport.enable() |
18 from mercurial.hgweb import hgweb |
15 from mercurial.hgweb import hgweb |
19 from flup.server.fcgi import WSGIServer |
16 from flup.server.fcgi import WSGIServer |