Pass ignore_initial_spaces=True as this has better clarity than separate boolean variable

This commit is contained in:
smitcona
2017-02-07 12:47:33 +00:00
parent 29f1d21be7
commit a1d0a86305

View File

@@ -482,11 +482,10 @@ def split_emails(msg):
Return the corrected markers
"""
msg_body = _replace_link_brackets(msg)
ignore_initial_spaces = True
# don't process too long messages
lines = msg_body.splitlines()[:MAX_LINES_COUNT]
markers = mark_message_lines(lines, ignore_initial_spaces)
markers = mark_message_lines(lines, ignore_initial_spaces=True)
markers = _mark_quoted_email_splitlines(markers, lines)