]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Put more specific 'From' regex first
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 14 Apr 2016 16:38:57 +0000 (17:38 +0100)
committerStephen Finucane <stephenfinucane@hotmail.com>
Fri, 2 Sep 2016 19:04:14 +0000 (20:04 +0100)
commit1f8697342902eef667c2458453ffe90a0b937553
tree63b65f16ac22476c487098e076eaf8394f2b4f3f
parentf9952978b44b8fa91e61b8fb57eeee541cf617a5
parser: Put more specific 'From' regex first

Multiple different 'From:' header styles are supported by the parser,
but some of these are less specific than others. Attempt to parse using
a more specific style before going with the more generic one.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/parser.py
patchwork/tests/test_parser.py