summaryrefslogtreecommitdiff
path: root/packages/views/signoff.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/views/signoff.py')
-rw-r--r--packages/views/signoff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/signoff.py b/packages/views/signoff.py
index c37aa0fc..fcc6de45 100644
--- a/packages/views/signoff.py
+++ b/packages/views/signoff.py
@@ -81,7 +81,7 @@ class SignoffOptionsForm(forms.ModelForm):
def _signoff_options_all(request, name, repo):
seen_ids = set()
- with transaction.commit_on_success():
+ with transaction.atomic():
# find or create a specification for all architectures, then
# graft the form data onto them
packages = Package.objects.filter(pkgbase=name,