view tests/unwrap-message-id.py @ 50497:66c556968222

store: introduce boolean property for revlog type This will avoid exposing implementation details to more generic code.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 22:09:15 +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="")