summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/project.py
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-18 14:39:24 +1100
committerJeremy Kerr <jk@ozlabs.org>2015-03-22 21:27:09 +0800
commit86f645abb13ff65ef04b085b443168d5b5622e4d (patch)
tree912de7d2ea948d9057a6023c53884dafcd774938 /apps/patchwork/views/project.py
parent93aa30e45f7502f3209bf5ebf4e7966ff5a26899 (diff)
downloadpatchwork-86f645abb13ff65ef04b085b443168d5b5622e4d.tar.bz2
patchwork-86f645abb13ff65ef04b085b443168d5b5622e4d.tar.xz
parser: Fix parsing of patches with a trailing no-newline marker
If a patch ends with a "No newline at end of file" marker, it is incorrectly considered part of the comment. Add a testcase which shows the bug, and then fix the parser. The parser fix is hopefully sufficiently specific so as to not break any other unrelated case. But .. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'apps/patchwork/views/project.py')
0 files changed, 0 insertions, 0 deletions