]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parse(mail|archive): handle early fail within email module
authorDaniel Axtens <dja@axtens.net>
Sat, 1 Jul 2017 04:28:42 +0000 (14:28 +1000)
committerStephen Finucane <stephen@that.guru>
Mon, 3 Jul 2017 19:42:00 +0000 (20:42 +0100)
commitc2cfced9c8351661e943e89a26f8453a815d323a
tree7116c6f2638be21f2d6ae344cff0fa3fce9a04cc
parentee4f7b90d484d2bab5b13650efbb55e17f032888
parse(mail|archive): handle early fail within email module

Certain really messed up email messages can cause a failure within
the email module (at least on py3). Catch this.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/management/commands/parsearchive.py
patchwork/management/commands/parsemail.py