tests/unwrap-message-id.py
author Arun Kulshreshtha <akulshreshtha@janestreet.com>
Wed, 26 Apr 2023 15:30:35 -0400
branchstable
changeset 50362 51041a1a4c59
parent 48966 6000f5b25c9b
permissions -rw-r--r--
rhg: correctly relativize copy source path

import sys

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