mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Fixed swapped transaction/rebuild statements
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user