diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-02-13 13:52:19 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-02-13 13:52:19 +1100 |
commit | e21dfae1526814152603122f2ac4c9d36a7d814d (patch) | |
tree | 15bc86e374921c4982c419548c165348e28f9702 /lib/sql | |
parent | eddb3ce9c1659226d05ca1b959d0c31cd216f93a (diff) | |
download | patchwork-e21dfae1526814152603122f2ac4c9d36a7d814d.tar.bz2 patchwork-e21dfae1526814152603122f2ac4c9d36a7d814d.tar.xz |
[views] Check count() for duplicate bundle patches, rather than try/except
If the exception is raised, the transaction will still be in a bad
state, due to the foreign key constraint.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions