view tests/unwrap-message-id.py @ 43629:ec53ea01c9e6

patchbomb: fix wrong argument type when calling mail generator.flatten()
author Denis Laxalde <denis.laxalde@logilab.fr>
date Wed, 13 Nov 2019 17:06:05 +0100
parents 4128ffba4431
children a1908951ca42
line wrap: on
line source

from __future__ import absolute_import, print_function

import re
import sys

print(re.sub(r"(?<=Message-Id:) \n ", " ", sys.stdin.read()), end="")