Patchwork D2749: hgweb: remove wsgirequest.__iter__

login
register
mail settings
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

phabricator - March 10, 2018, 8:03 p.m.
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




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

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)