hgweb: abstract call to hgwebdir wsgi function
The function names and behavior now matches hgweb. The reason for this
will be obvious in the next patch.
--- a/mercurial/hgweb/hgwebdir_mod.py Sun Aug 14 18:28:43 2016 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py Sun Aug 14 16:03:30 2016 -0700
@@ -217,6 +217,9 @@
return False
def run_wsgi(self, req):
+ return self._runwsgi(req)
+
+ def _runwsgi(self, req):
try:
self.refresh()