[PATCH v3 08/10] parser: Correct empty email value check

Stephen Finucane stephenfinucane at hotmail.com
Sat Sep 3 05:09:24 AEST 2016

On 29 Aug 23:50, Stephen Finucane wrote:
> From: Stephen Finucane <stephen.finucane at intel.com>
> The check for empty emails in 'find_author' checked for None, but it
> was not possible to ever return None unless the 'From:' header was
> missing altogether. Seeing as, per RFC822 and its revisions, this is
> not possible, check for the empty string instead.
> Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
> Reviewed-by: Andy Doan <andy.doan at linaro.org>


More information about the Patchwork mailing list