Commit fae459d0 authored by Dirk Wallenstein's avatar Dirk Wallenstein Committed by Jeremy Kerr
Browse files

parser: Decode the subject header



The clean_header function decodes internationalized headers.  Use it for
the subject, too.
Signed-off-by: default avatarDirk Wallenstein <halsmit@t-online.de>
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent 31ddb24d
......@@ -306,6 +306,8 @@ def clean_subject(subject, drop_prefixes = None):
'[bar] meep'
"""
subject = clean_header(subject)
if drop_prefixes is None:
drop_prefixes = []
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment