Configuration
Nate Case
ncase at xes-inc.com
Fri Jan 16 04:44:10 EST 2009
On Thu, 2009-01-15 at 11:39 -0600, Anthony Newnam wrote:
> My python is parsing the mail files incorrectly. If I strip out the
> non-related headers in the email, it works.
>
> I tried to upgrade to Python 3 to see if this bug has been fixed, but
> patchwork doesn't work with it:
>
> $ /srv/patchwork/apps/patchwork/bin/parsemail.sh < /var/mail/newnam
> File "/srv/patchwork/apps/patchwork/bin/parsemail.py", line 56
> return normalise_space(u' '.join(fragments))
> ^
> SyntaxError: invalid syntax
Python 3 probably won't work with Patchwork for quite a while (the
django framework is tied to Python 2.x). But Python 2.x and 3.x can
co-exist on a system.
Can you attach the message file that it's not parsing correctly?
--
Nate Case <ncase at xes-inc.com>
More information about the Patchwork
mailing list