mercurial/patch.py
changeset 35191 a1d2fc32bb99
parent 35062 1706eae096e2
child 35277 6ba79cf34f5e
equal deleted inserted replaced
35190:bd8875b6473c 35191:a1d2fc32bb99
   146         def next(self):
   146         def next(self):
   147             l = self.fp.readline()
   147             l = self.fp.readline()
   148             if not l:
   148             if not l:
   149                 raise StopIteration
   149                 raise StopIteration
   150             return l
   150             return l
       
   151 
       
   152         __next__ = next
   151 
   153 
   152     inheader = False
   154     inheader = False
   153     cur = []
   155     cur = []
   154 
   156 
   155     mimeheaders = ['content-type']
   157     mimeheaders = ['content-type']