# HG changeset patch # User Gregory Szorc # Date 1471215810 25200 # Node ID fc2442492606d94382fb6eef7dda9f8a80badaad # Parent 88d3c1ab03a71a5aa9132a2ebf0a962e25cd98b6 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. diff -r 88d3c1ab03a7 -r fc2442492606 mercurial/hgweb/hgwebdir_mod.py --- 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()