equal
deleted
inserted
replaced
620 assert self._bodywritefn |
620 assert self._bodywritefn |
621 return offsettrackingwriter(self._bodywritefn) |
621 return offsettrackingwriter(self._bodywritefn) |
622 |
622 |
623 |
623 |
624 def wsgiapplication(app_maker): |
624 def wsgiapplication(app_maker): |
625 '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir() |
625 """For compatibility with old CGI scripts. A plain hgweb() or hgwebdir() |
626 can and should now be used as a WSGI application.''' |
626 can and should now be used as a WSGI application.""" |
627 application = app_maker() |
627 application = app_maker() |
628 |
628 |
629 def run_wsgi(env, respond): |
629 def run_wsgi(env, respond): |
630 return application(env, respond) |
630 return application(env, respond) |
631 |
631 |