view tests/unwrap-message-id.py @ 49282:d7f3f745f20c

cleanup: remove import of already imported module
author Manuel Jacob <me@manueljacob.de>
date Sun, 29 May 2022 12:28:31 +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="")