summaryrefslogtreecommitdiffstats
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-19 17:53:49 +0100
committerDan McGee <dan@archlinux.org>2012-01-19 17:55:27 +0100
commit1a6554dab794b5eb9153c4eb9dd60e6d359a0ab9 (patch)
tree8c874da2cf5491e49b897c49e8c514e761585eb1 /mirrors
parentb2b5c1a064d5d3c33f4c4fc119bd67cf9ca1b7ba (diff)
downloadarchweb-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 'mirrors')
0 files changed, 0 insertions, 0 deletions