Issue32182
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017-11-30 14:59 by Silla Rizzoli, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (5) | |||
---|---|---|---|
msg307319 - (view) | Author: Silla Rizzoli (Silla Rizzoli) | Date: 2017-11-30 14:59 | |
Sometimes RFC-correct email headers do not get folded correctly; the example code below results in an infinite recursion exception. import sys import mailbox from email.message import EmailMessage from email.headerregistry import Address from email import policy ePol = policy.SMTP.clone(refold_source='long',max_line_length=78) msg = EmailMessage(ePol) msg['From'] = Address("abcdefgh ijklnopq","a.ijklnopq","antani.com") msg['To'] = (Address("abcdef.ghijklmno@pqrstuvwxyz12345678.it","abcdef.ghijklmnop","pqrstuvwxyz12345678.it"), Address("Jane Doe", "jane", "doe.com")) msg['Subject'] = "Test" msg.set_content("Body") finalMail = msg.as_string() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.6/email/message.py", line 968, in as_string return super().as_string(maxheaderlen=maxheaderlen, policy=policy) File "/usr/lib/python3.6/email/message.py", line 158, in as_string g.flatten(self, unixfrom=unixfrom) File "/usr/lib/python3.6/email/generator.py", line 116, in flatten self._write(msg) File "/usr/lib/python3.6/email/generator.py", line 195, in _write self._write_headers(msg) File "/usr/lib/python3.6/email/generator.py", line 222, in _write_headers self.write(self.policy.fold(h, v)) File "/usr/lib/python3.6/email/policy.py", line 183, in fold return self._fold(name, value, refold_binary=True) File "/usr/lib/python3.6/email/policy.py", line 205, in _fold return value.fold(policy=self) File "/usr/lib/python3.6/email/headerregistry.py", line 255, in fold return header.fold(policy=policy) File "/usr/lib/python3.6/email/_header_value_parser.py", line 300, in fold self._fold(folded) File "/usr/lib/python3.6/email/_header_value_parser.py", line 1226, in _fold rest._fold(folded) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 325, in _fold tstr = str(part) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) RecursionError: maximum recursion depth exceeded while calling a Python object |
|||
msg307325 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-11-30 16:19 | |
This is almost certainly either a duplicate or will be fixed by a PR I have pending, that I don't have time to look for right now, that rewrites the folder. I'll try to get to merging that PR soonish, but it might not happen before the holidays ;) |
|||
msg307386 - (view) | Author: Silla Rizzoli (Silla Rizzoli) | Date: 2017-12-01 12:52 | |
Ok, thanks! I'm writing a program to convert Outlook for Mac backup files (.olm) into plain mbox files as a way to teach myself Python (and at the same time regain control of my email), so I have tens of thousand of emails to test your new code on, if you feel you need some fedback before releasing it. Best regards, Silla On Thu, Nov 30, 2017 at 5:19 PM, R. David Murray <report@bugs.python.org> wrote: > > R. David Murray <rdmurray@bitdance.com> added the comment: > > This is almost certainly either a duplicate or will be fixed by a PR I > have pending, that I don't have time to look for right now, that rewrites > the folder. I'll try to get to merging that PR soonish, but it might not > happen before the holidays ;) > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <https://bugs.python.org/issue32182> > _______________________________________ > |
|||
msg307391 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-12-01 16:25 | |
It is gh-3488 if you want to try it out. Feedback welcome. |
|||
msg307533 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-12-04 00:53 | |
I checked, and your example works correctly with the patch applied. I've committed the PR. Let me know if you find any other issues (there are several open issues with exactly how headers are wrapped, but I don't think there are any open where serialization fails completely.) |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:55 | admin | set | github: 76363 |
2017-12-04 00:53:35 | r.david.murray | set | status: open -> closed versions: + Python 3.7 type: crash -> behavior messages: + msg307533 resolution: fixed stage: resolved |
2017-12-01 16:25:33 | r.david.murray | set | messages: + msg307391 |
2017-12-01 12:52:27 | Silla Rizzoli | set | messages: + msg307386 |
2017-11-30 16:19:27 | r.david.murray | set | messages: + msg307325 |
2017-11-30 14:59:00 | Silla Rizzoli | create |