tests/unwrap-message-id.py
author Raphaël Gomès <rgomes@octobus.net>
Thu, 03 Nov 2022 15:44:54 +0100
branchstable
changeset 49555 9dce3960735b
parent 48966 6000f5b25c9b
permissions -rw-r--r--
config: fix indentation of some`share-safe` options This makes the output much more readable.

import sys

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