author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Sat, 16 Nov 2019 12:26:54 +0100 | |
branch | stable |
changeset 44254 | 6733c565ca46 |
parent 43334 | 4128ffba4431 |
child 44405 | a1908951ca42 |
permissions | -rw-r--r-- |
43334
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
1 |
from __future__ import absolute_import, print_function |
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
2 |
|
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
3 |
import re |
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
4 |
import sys |
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
5 |
|
4128ffba4431
tests: handle Message-Id email header possible wrapping
Denis Laxalde <denis@laxalde.org>
parents:
diff
changeset
|
6 |
print(re.sub(r"(?<=Message-Id:) \n ", " ", sys.stdin.read()), end="") |