mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Handle vacuous role rebuilding condition instead of exploding
This commit is contained in:
@@ -234,6 +234,9 @@ class Role(CommonModelNameNotUnique):
|
||||
#
|
||||
#
|
||||
|
||||
if len(role_ids_to_rebuild) == 0:
|
||||
return
|
||||
|
||||
cursor = connection.cursor()
|
||||
loop_ct = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user