view tests/unwrap-message-id.py @ 51686:37a079410507 stable tip

rust: bump rust-cpython version to 0.7.2 This version supports Python 3.12 while 0.7.1 did not.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 17 Sep 2024 16:40:24 +0200
parents 6000f5b25c9b
children
line wrap: on
line source

import sys

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