Patchwork D2749: hgweb: remove wsgirequest.__iter__

login
register
mail settings
Submitter phabricator
Date March 12, 2018, 9:32 p.m.
Message ID <7811aeb45d08f9baf6cf56a8dc93e905@localhost.localdomain>
Download mbox | patch
Permalink /patch/29347/
State Not Applicable
Headers show

Comments

phabricator - March 12, 2018, 9:32 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe3f809e0fe8e: hgweb: remove wsgirequest.__iter__ (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2749?vs=6829&id=6904

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)