We need to add an import for HeaderParser on python 2.4; email.Parser appears to contain the right stuff.
Signed-off-by: Jeremy Kerr <[email protected]> --- apps/patchwork/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/patchwork/models.py b/apps/patchwork/models.py index edb52df..6842622 100644 --- a/apps/patchwork/models.py +++ b/apps/patchwork/models.py @@ -38,6 +38,7 @@ except ImportError: # Python 2.4 compatibility from email.MIMENonMultipart import MIMENonMultipart from email.Encoders import encode_7or8bit + from email.Parser import HeaderParser import email.Utils email.utils = email.Utils _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
