Submitter | phabricator |
---|---|
Date | March 10, 2018, 8:03 p.m. |
Message ID | <92f24d8dafa1520f5391ae99266ede35@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/29259/ |
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 @@ -246,9 +246,6 @@ self.server_write = None self.headers = [] - def __iter__(self): - return iter([]) - def drain(self): '''need to read all data from request, httplib is half-duplex''' length = int(self.env.get('CONTENT_LENGTH') or 0)