diff options
author | Dan McGee <dan@archlinux.org> | 2012-01-19 10:53:49 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-19 10:55:27 -0600 |
commit | 1a6554dab794b5eb9153c4eb9dd60e6d359a0ab9 (patch) | |
tree | 8c874da2cf5491e49b897c49e8c514e761585eb1 /releng | |
parent | b2b5c1a064d5d3c33f4c4fc119bd67cf9ca1b7ba (diff) |
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 'releng')
0 files changed, 0 insertions, 0 deletions