tests/unwrap-message-id.py
author Yuya Nishihara <yuya@tcha.org>
Sat, 12 Sep 2020 16:19:01 +0900
changeset 45567 a717de1cb624
parent 44432 a1908951ca42
child 48966 6000f5b25c9b
permissions -rw-r--r--
log: remove unused argument from _makerevset() I want to make getrevs() reusable for other commands, but the dependency graph of this getrevs() function is a mess. Let's minimize it first.

from __future__ import absolute_import, print_function

import sys

for line in sys.stdin:
    if line.lower() in ("message-id: \n", "in-reply-to: \n"):
        line = line[:-2]
    print(line, end="")