]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: don't trigger database IntegrityErrors on duplicate coverletters
authorJeremy Kerr <jk@ozlabs.org>
Thu, 16 Apr 2020 01:29:28 +0000 (09:29 +0800)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 11:30:39 +0000 (12:30 +0100)
commit55fb26bf5bb3ca81ae35426efa9b2410e206c8b2
tree7047c0c21ff4fdf0c8f8d64ba39d18d295f199e9
parent55aa9cd749f3ff0de430c8f04c687d691c3a703a
parser: don't trigger database IntegrityErrors on duplicate coverletters

As we've done for the Patch and Comment models, this change prevents
database errors from duplicate CoverLetters.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stephen Finucane <stephen@that.guru>
[stephenfin: Add release note]
patchwork/parser.py
patchwork/tests/test_parser.py
releasenotes/notes/issue-358-7d664318a19385fa.yaml [new file with mode: 0644]