]> git.ipfire.org Git - thirdparty/patchwork.git/commit
utils: Rework how notifications are selected
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 25 Mar 2016 17:29:28 +0000 (17:29 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 1 Apr 2016 14:51:37 +0000 (15:51 +0100)
commit6702a0c92b161ba8520857f1259faa83488c7100
tree7ae1442971e3e7f858e701130ae84a0a84337c2c
parentc6dd96a416bfcbb50cec192c3e423ca9ee33394c
utils: Rework how notifications are selected

The current method of filtering valid patches from invalid ones is
effective, but incompatible with forthcoming rework that splits
the 'Patch' model into two models. Rework this, removing the
soon-to-be non-existant 'User.patch' reference.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/utils.py