diff options
author | Dan McGee <dan@archlinux.org> | 2012-01-19 17:53:49 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-19 17:55:27 +0100 |
commit | 1a6554dab794b5eb9153c4eb9dd60e6d359a0ab9 (patch) | |
tree | 8c874da2cf5491e49b897c49e8c514e761585eb1 /news/migrations | |
parent | b2b5c1a064d5d3c33f4c4fc119bd67cf9ca1b7ba (diff) | |
download | archweb-1a6554dab794b5eb9153c4eb9dd60e6d359a0ab9.tar.gz archweb-1a6554dab794b5eb9153c4eb9dd60e6d359a0ab9.tar.xz |
reporead: simplify and fix transaction management in update_common()
We can use the easier transaction.commit_on_success() decorator if we be
sure to explicitly mark the transaction dirty. This fixes the issue
where a raised exception in this code called neither commit nor
rollback.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news/migrations')
0 files changed, 0 insertions, 0 deletions