D2749: hgweb: remove wsgirequest.__iter__
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Mar 10 15:03:38 EST 2018
indygreg updated this revision to Diff 6829.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2749?vs=6755&id=6829
REVISION DETAIL
https://phab.mercurial-scm.org/D2749
AFFECTED FILES
mercurial/hgweb/request.py
CHANGE DETAILS
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)
To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list