Show More
@@ -84,7 +84,9 class wsgirequest(object): | |||||
84 | self.header(headers) |
|
84 | self.header(headers) | |
85 |
|
85 | |||
86 | def wsgiapplication(app_maker): |
|
86 | def wsgiapplication(app_maker): | |
|
87 | '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir() | |||
|
88 | can and should now be used as a WSGI application.''' | |||
87 | application = app_maker() |
|
89 | application = app_maker() | |
88 | def run_wsgi(env, respond): |
|
90 | def run_wsgi(env, respond): | |
89 | application(env, respond) |
|
91 | return application(env, respond) | |
90 | return run_wsgi |
|
92 | return run_wsgi |
General Comments 0
You need to be logged in to leave comments.
Login now