Message289839
It is certainly true that getallmatchingheaders is broken... because the data it is looking at has changed format.
Here is a replacement that is as compatible as can be, based on the changed format.
name = name.lower()
n = len(name)
lst = []
for line, data in self.items():
if line.lower() == name:
lst.append(line + ': ' + data)
return lst
The changed format has merged continuation lines, and separated keys and values into a list of duplet tuples. Iterators keys, values, and items exist, keys are not necessarily unique. |
|
| Date |
User |
Action |
Args |
| 2017-03-19 05:40:01 | v+python | set | recipients:
+ v+python, ggenellina, orsenthil, ezio.melotti, mwatkins, r.david.murray, catalin.iacob, petri.lehtinen, berker.peksag, martin.panter, demian.brecht |
| 2017-03-19 05:40:00 | v+python | set | messageid: <1489902000.87.0.131764140119.issue5053@psf.upfronthosting.co.za> |
| 2017-03-19 05:40:00 | v+python | link | issue5053 messages |
| 2017-03-19 05:40:00 | v+python | create | |
|