tests/unwrap-message-id.py
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 20 Aug 2023 00:55:52 -0400
changeset 50852 13ad1b2ad3b4
parent 48966 6000f5b25c9b
permissions -rw-r--r--
branch: migrate `opts` to native kwargs

import sys

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