--- a/contrib/hgwebdir.fcgi Sat Feb 21 17:46:06 2009 -0600
+++ b/contrib/hgwebdir.fcgi Tue Feb 24 16:01:29 2009 +0100
@@ -22,7 +22,6 @@
#os.environ["HGENCODING"] = "UTF-8"
from mercurial.hgweb.hgwebdir_mod import hgwebdir
-from mercurial.hgweb.request import wsgiapplication
from flup.server.fcgi import WSGIServer
# The config file looks like this. You can have paths to individual
@@ -60,7 +59,4 @@
# Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
# or use a dictionary with entries like 'virtual/path': '/real/path'
-def make_web_app():
- return hgwebdir("hgweb.config")
-
-WSGIServer(wsgiapplication(make_web_app)).run()
+WSGIServer(hgwebdir('hgweb.config')).run()