tests/unwrap-message-id.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 16 Mar 2023 20:37:11 +0100
branchstable
changeset 50311 e2ba2234bf1c
parent 48966 6000f5b25c9b
permissions -rw-r--r--
revlog: update the split + transaction test We add section, increase the amount of comments and simplify some of the constructs. We are about to build more on top this tests so lets do a small cleanup first.

import sys

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