tests/unwrap-message-id.py
author Julien Cristau <jcristau@mozilla.com>
Tue, 06 Dec 2022 15:11:51 +0100
branchstable
changeset 49946 76c128d4de4e
parent 48875 6000f5b25c9b
permissions -rw-r--r--
revset: the `random` sort should not depend on sys.maxsize (issue6770)

import sys

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