tests/unwrap-message-id.py
author Mathias De Mare <mathias.de_mare@nokia.com>
Mon, 08 Aug 2022 17:27:49 +0200
changeset 49419 2edb41ed6c49
parent 48875 6000f5b25c9b
permissions -rw-r--r--
contrib: add support for rhel9

import sys

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