Mercurial > hg
view tests/unwrap-message-id.py @ 43497:6d001f452bcb
dagparser: suppress some pytype errors around pycompat.bytestring
I can't justify why we're getting these errors, but nothing I do fixes
these handful of calls, so let's just move on with suppressions.
Differential Revision: https://phab.mercurial-scm.org/D7277
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 15:12:13 -0500 |
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="")