Found that some emails throw exceptions during html cut, which results in the stripped-html field containing the entire body-html. This code allows the plain text quotation cut to continue even if the html cut fails.
Implementation
Made test imports explicit, our first steps toward python 3 compatibility.
Purpose
Found that some emails throw exceptions during html cut, which results in the
stripped-html
field containing the entirebody-html
. This code allows the plain text quotation cut to continue even if the html cut fails.Implementation