]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Handle unset 'Submission.content'
authorStephen Finucane <stephen@that.guru>
Sun, 7 Jul 2019 16:10:42 +0000 (17:10 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 2 Mar 2020 17:07:21 +0000 (17:07 +0000)
commitb8a1673e356f2ad49f83eff82262b8d3c066f2fd
tree59a959034f2a7cb4ba43bf25f73575de1e8e1bee
parent563557a2ef846248000bd8160e88d0d922772400
models: Handle unset 'Submission.content'

It's unlikely but 'Submission.content' is nullable and we weren't
handling this here. Fix that.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 7f6685a2a ("Fix CRLF newlines upon submission changes")
patchwork/models.py