Show More
@@ -22,7 +22,6 b' from mercurial import demandimport; dema' | |||
|
22 | 22 | #os.environ["HGENCODING"] = "UTF-8" |
|
23 | 23 | |
|
24 | 24 | from mercurial.hgweb.hgwebdir_mod import hgwebdir |
|
25 | from mercurial.hgweb.request import wsgiapplication | |
|
26 | 25 | from flup.server.fcgi import WSGIServer |
|
27 | 26 | |
|
28 | 27 | # The config file looks like this. You can have paths to individual |
@@ -60,7 +59,4 b' from flup.server.fcgi import WSGIServer' | |||
|
60 | 59 | # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples |
|
61 | 60 | # or use a dictionary with entries like 'virtual/path': '/real/path' |
|
62 | 61 | |
|
63 | def make_web_app(): | |
|
64 | return hgwebdir("hgweb.config") | |
|
65 | ||
|
66 | WSGIServer(wsgiapplication(make_web_app)).run() | |
|
62 | WSGIServer(hgwebdir('hgweb.config')).run() |
General Comments 0
You need to be logged in to leave comments.
Login now