mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
remove redundant clause in act str serializer
This commit is contained in:
parent
ebb2b886f1
commit
8683da986d
@ -3086,8 +3086,6 @@ class ActivityStreamSerializer(BaseSerializer):
|
||||
summary_fields[get_type_for_model(unified_job_template)] = {'id': unified_job_template.id,
|
||||
'name': unified_job_template.name}
|
||||
thisItemDict = {}
|
||||
if 'id' not in related_fields:
|
||||
related_fields = related_fields + ('id',)
|
||||
for field in related_fields:
|
||||
fval = getattr(thisItem, field, None)
|
||||
if fval is not None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user