diff -r 027264e720aa -r 0145f9afb0e7 mercurial/hgweb/request.py --- a/mercurial/hgweb/request.py Sat Dec 29 01:14:45 2007 +0100 +++ b/mercurial/hgweb/request.py Sat Dec 29 19:49:48 2007 +0100 @@ -58,7 +58,7 @@ except socket.error, inst: if inst[0] != errno.ECONNRESET: raise - + def write(self, *things): self.respond('200 Script output follows', *things) @@ -86,7 +86,7 @@ self.header(headers) def wsgiapplication(app_maker): - application = app_maker() - def run_wsgi(env, respond): - application(env, respond) - return run_wsgi + application = app_maker() + def run_wsgi(env, respond): + application(env, respond) + return run_wsgi