]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: fix wrong parsing of diff comments
authorWEN Pingbo <wengpingbo@gmail.com>
Mon, 5 Sep 2016 14:31:46 +0000 (22:31 +0800)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 24 Sep 2016 23:45:53 +0000 (00:45 +0100)
commit2a915efdf95a691577738418ef31ed3f2b6383ca
tree52cfbd3a5ff18d19f8d6e0c2e5c476e23323279e
parentcdab8617b46da5a48b05af49aebb3d5598ca3340
parser: fix wrong parsing of diff comments

If the subject of a submission is prefixed by 'Re:', then it can't be a
patch or cover letter.

Signed-off-by: WEN Pingbo <wengpingbo@gmail.com>
Reviewed-by: Stephen Finucane <stephenfinucane@hotmail.com>
patchwork/parser.py
patchwork/tests/test_parser.py