Mercurial > hg
view tests/unwrap-message-id.py @ 52001:3af11f3e9980
zeroconf: fix a warning about a signature mismatch in a method override
Caught by PyCharm. It looks like the `hdr` arg is mostly unused (thus why it
was missing in some cases), so pass along an empty string where needed.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 13 Oct 2024 14:46:23 +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="")