Mercurial > hg
view tests/unwrap-message-id.py @ 43382:cf3bf3b03445 stable
py3: use mail.parsebytes() in gnuarch catlog parser
We drop 'catlogparser' attribute now unused.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Mon, 04 Nov 2019 09:52:13 +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="")