Mercurial > hg
view tests/unwrap-message-id.py @ 49874:cd3b8fd1d3eb
contrib: drop py2 support from testparseutil.py
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 03 Jan 2023 23:53:44 -0500 |
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="")