summaryrefslogtreecommitdiff
path: root/packages/views/flag.py
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-28 19:57:27 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-28 19:57:27 -0500
commitdbb508b7222081b523ce3e0bd2b69f5fea6c7050 (patch)
treef5f3a97b9465504ed9e7633a0c385669b7463d3c /packages/views/flag.py
parentfd788c5fcf9009540ad14a869dcebdfd30fb9d6f (diff)
parentb2b6c78e3179cef66cd4e9dcea7f9003f409ce8b (diff)
Merge tag 'release_2013-11-25' into archweb-generic
Django 1.6 upgrade and other changes Conflicts: templates/news/list.html templates/public/index.html
Diffstat (limited to 'packages/views/flag.py')
-rw-r--r--packages/views/flag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/flag.py b/packages/views/flag.py
index ae6b03f9..c6936ac4 100644
--- a/packages/views/flag.py
+++ b/packages/views/flag.py
@@ -86,7 +86,7 @@ def flag(request, name, repo, arch):
else:
email = form.cleaned_data['email']
- @transaction.commit_on_success
+ @transaction.atomic
def perform_updates():
current_time = now()
pkgs.update(flag_date=current_time)