summaryrefslogtreecommitdiff
path: root/patchwork/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/parser.py')
-rw-r--r--patchwork/parser.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/patchwork/parser.py b/patchwork/parser.py
index 4c2d51d..a09fd75 100644
--- a/patchwork/parser.py
+++ b/patchwork/parser.py
@@ -765,11 +765,7 @@ def clean_content(content):
"""Remove cruft from the email message.
Catch signature (-- ) and list footer (_____) cruft.
-
- Change to Unix line endings (the Python 3 email module does this for us,
- but not Python 2).
"""
- content = content.replace('\r\n', '\n')
sig_re = re.compile(r'^(-- |_+)\n.*', re.S | re.M)
content = sig_re.sub('', content)