Dirkjan Ochtman committed 43edbd8

contrib: bring hgwebdir.fcgi up-to-date with current WSGI practices

  • Participants
  • Parent commits 57fee79

Comments (0)

Files changed (1)


 #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
 # 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")