mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Removed unnecessary save()
This commit is contained in:
parent
619e5797d4
commit
fe29486d7b
@ -119,7 +119,6 @@ class ImplicitRoleDescriptor(ReverseSingleRelatedObjectDescriptor):
|
||||
raise FieldError('Implicit role missing `role_name`')
|
||||
|
||||
role = Role._default_manager.create(name=self.role_name)
|
||||
role.save()
|
||||
if self.parent_role:
|
||||
# Add all non-null parent roles as parents
|
||||
if type(self.parent_role) is list:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user