]> git.ipfire.org Git - thirdparty/patchwork.git/commit
filters: Handle invalid ids
authorStephen Finucane <stephen@that.guru>
Sat, 29 Oct 2016 13:13:38 +0000 (14:13 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 31 Oct 2016 16:37:09 +0000 (16:37 +0000)
commit5136285b1f0dac3caa251ce8b96173b5a9048ecc
treeecbba1d6b08a56915f67ac26bbe148247220e1dd
parentf83ea9c56fefabf5da56f17804fa496a29b496f6
filters: Handle invalid ids

Two filters - SubmitterFilter and DelegateFilter - don't attempt to
handle invalid id values and will bubble an exception up as a 5xx
error. Correct this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
patchwork/filters.py