Re: [PATCH] parser: fix parsing of messages with empty subjects

2017-07-07 Thread Daniel Axtens
Stephen Finucane writes: > On Sat, 2017-07-08 at 00:24 +1000, Daniel Axtens wrote: >> The fuzz fixups made the test too strict ("if not subject" rather than >> "if subject is None") in an attempt to catch broken subject headers. >> This broke parsing of messages with an empty subject. >> >> Fix

Re: [PATCH] parser: fix parsing of messages with empty subjects

2017-07-07 Thread Stephen Finucane
On Sat, 2017-07-08 at 00:24 +1000, Daniel Axtens wrote: > The fuzz fixups made the test too strict ("if not subject" rather than > "if subject is None") in an attempt to catch broken subject headers. > This broke parsing of messages with an empty subject. > > Fix it and add a test. > > Signed-off

[PATCH] parser: fix parsing of messages with empty subjects

2017-07-07 Thread Daniel Axtens
The fuzz fixups made the test too strict ("if not subject" rather than "if subject is None") in an attempt to catch broken subject headers. This broke parsing of messages with an empty subject. Fix it and add a test. Signed-off-by: Daniel Axtens --- patchwork/parser.py |

Re: [PATCH 3/4] parser: allow to handle multiple projects under the same list

2017-07-07 Thread Philippe Pepiot
On 05/30/2017 09:54 PM, Stephen Finucane wrote: > On Tue, 2017-05-30 at 10:37 -0700, Sean Farley wrote: >> Andrew Donnellan writes: >> >>> On 30/05/17 08:50, Stephen Finucane wrote: On Sat, 2017-05-27 at 20:17 +0200, Philippe Pepiot wrote: > By adding a `subject_prefix` settings to Projec