view tests/unwrap-message-id.py @ 50700:f4e8c82e2cef

clone-bundles: reorder some test section and add titles This make things clearer around the inline clone bundle tests.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Jun 2023 11:28:45 +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="")