mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Fixed swapped transaction/rebuild statements
This commit is contained in:
parent
0c6dcb2337
commit
569f61ed30
@ -114,8 +114,8 @@ class Rollback(Exception):
|
||||
|
||||
try:
|
||||
|
||||
with batch_role_ancestor_rebuilding():
|
||||
with transaction.atomic():
|
||||
with transaction.atomic():
|
||||
with batch_role_ancestor_rebuilding():
|
||||
admin, _ = User.objects.get_or_create(username = 'admin', is_superuser=True)
|
||||
org_admin, _ = User.objects.get_or_create(username = 'org_admin')
|
||||
org_member, _ = User.objects.get_or_create(username = 'org_member')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user