Skip to content
Snippets Groups Projects
Commit ac33550f authored by Denis Laxalde's avatar Denis Laxalde
Browse files

py3: use stdlib's parseaddr() to get sender header in notify extension

In Python 3, email headers are unicode string so using
stringutil.email() will not work as it compares with bytestring. So
let's use email.utils.parseaddr() from the stdlib which has a consistent
behavior across Python versions. The same is done in patchbomb
extension already.
parent ef81de93
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment