summaryrefslogtreecommitdiff
path: root/packages/views/flag.py
diff options
context:
space:
mode:
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 69ca3c9f..5680683a 100644
--- a/packages/views/flag.py
+++ b/packages/views/flag.py
@@ -84,7 +84,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)