tests/unwrap-message-id.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Dec 2022 01:41:27 +0100
changeset 49832 bcb172e360d0
parent 48966 6000f5b25c9b
permissions -rw-r--r--
path: remove outdated documentation point from `get_unique_push_path` This is no longer true.

import sys

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