Submitter | phabricator |
---|---|
Date | March 10, 2018, 8:03 p.m. |
Message ID | <b773fb481157a2e51bb896df9732a97c@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/29258/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/request.py b/mercurial/hgweb/request.py --- a/mercurial/hgweb/request.py +++ b/mercurial/hgweb/request.py @@ -306,16 +306,9 @@ if inst[0] != errno.ECONNRESET: raise - def writelines(self, lines): - for line in lines: - self.write(line) - def flush(self): return None - def close(self): - return None - def wsgiapplication(app_maker): '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir() can and should now be used as a WSGI application.'''