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

Andy Doan andy.doan at linaro.org
Wed Jul 20 07:33:08 AEST 2016


On 07/13/2016 04:40 AM, Stephen Finucane wrote:
> 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