Mercurial > public > mercurial-scm > hg-stable
view tests/unwrap-message-id.py @ 48639:9642dbe7bca1
test-http-bad-server: document that the value are actually a list
I don't really expect this doc to be read a lot, but mentioning that this is a
list seems important.
Differential Revision: https://phab.mercurial-scm.org/D12048
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 22 Jan 2022 01:13:12 +0100 |
parents | a1908951ca42 |
children | 6000f5b25c9b |
line wrap: on
line source
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="")