diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-09-20 15:31:32 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-09-20 15:31:32 +1000 |
commit | dff684304a35c14e23d89783d18e1664222b3fcb (patch) | |
tree | f9bf739725ab6d9d8f2a30ff61d138cbcedc3e89 /lib | |
parent | f26f929de02369cf73fc8ab54fff3a046855dd9f (diff) | |
download | patchwork-dff684304a35c14e23d89783d18e1664222b3fcb.tar.bz2 patchwork-dff684304a35c14e23d89783d18e1664222b3fcb.tar.xz |
[views] Fix empty bundle showing entire project's patches
If a bundle is empty, we end up triggering the 'if not patches' check
in generic_list(), which repopulates the patch list with the current
project's patches.
So, check for None instead, and leave the patch list empty.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions