mercurial/hgweb/hgweb_mod.py
changeset 26247 7df5d4760873
parent 26240 2b1434e5eaa0
child 26294 1ffc61c4e32e
--- a/mercurial/hgweb/hgweb_mod.py	Thu Aug 27 14:46:26 2015 -0400
+++ b/mercurial/hgweb/hgweb_mod.py	Sat Sep 12 12:16:39 2015 -0700
@@ -275,7 +275,8 @@
         should be using instances of this class as the WSGI application.
         """
         with self._obtainrepo() as repo:
-            return self._runwsgi(req, repo)
+            for r in self._runwsgi(req, repo):
+                yield r
 
     def _runwsgi(self, req, repo):
         rctx = requestcontext(self, repo)