view tests/unwrap-message-id.py @ 48963:7e18fc0bc46c

tests: fix formatting issue in run-tests.py after c194e93d1ebc Differential Revision: https://phab.mercurial-scm.org/D12375
author Kyle Lippincott <spectral@google.com>
date Mon, 14 Mar 2022 12:24:34 -0700
parents 6000f5b25c9b
children
line wrap: on
line source

import sys

for line in sys.stdin:
    if line.lower() in ("message-id: \n", "in-reply-to: \n"):
        line = line[:-2]
    print(line, end="")