Change of behavior when msg_body has more then 1000 lines

This commit is contained in:
Simon
2015-04-16 13:22:18 +02:00
parent b4c180b9ff
commit 84a83e865e

View File

@@ -298,7 +298,7 @@ def extract_from_plain(msg_body):
# don't process too long messages
if len(lines) > MAX_LINES_COUNT:
return stripped_text
lines = stripped_text.split('\n', MAX_LINES_COUNT)
markers = mark_message_lines(lines)
lines = process_marked_lines(lines, markers)