view tests/unwrap-message-id.py @ 51943:9b14a8cf4f78

tests: correct Windows output to account for putting repos in `repo` subdir These were missed in 55c6ebd11cb9, due to being conditionalized and not running in CI.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 01 Oct 2024 21:40:20 -0400
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="")