##// END OF EJS Templates
tests: use pyflakes as a tool, not a python module...
tests: use pyflakes as a tool, not a python module The usage of pyflakes as a Python module was introduced in e397c6d74652, to work around issue between Python 2 and Python 3. This issues are long behind us now and we can get beck to using pyflakes as a tool, giving us more flexibility about how we install it. The `hghave` requirements is modified to check that we have a tool available, instead of a python module.

File last commit:

r49730:6000f5b2 default
r52956:43602c67 default
Show More
unwrap-message-id.py
6 lines | 146 B | text/x-python | PythonLexer
/ tests / unwrap-message-id.py
Denis Laxalde
tests: handle Message-Id email header possible wrapping...
r43642 import sys
Joerg Sonnenberger
tests: handle In-Reply-To headers for line wrapping...
r44885 for line in sys.stdin:
if line.lower() in ("message-id: \n", "in-reply-to: \n"):
line = line[:-2]
print(line, end="")