mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Use the right base class for super().
This commit is contained in:
@@ -2536,7 +2536,7 @@ class AdHocCommandEventSerializer(BaseSerializer):
|
|||||||
return res
|
return res
|
||||||
|
|
||||||
def to_representation(self, obj):
|
def to_representation(self, obj):
|
||||||
ret = super(JobEventSerializer, self).to_representation(obj)
|
ret = super(AdHocCommandEventSerializer, self).to_representation(obj)
|
||||||
# Show full stdout for event detail view, truncate only for list view.
|
# Show full stdout for event detail view, truncate only for list view.
|
||||||
if hasattr(self.context.get('view', None), 'retrieve'):
|
if hasattr(self.context.get('view', None), 'retrieve'):
|
||||||
return ret
|
return ret
|
||||||
|
|||||||
Reference in New Issue
Block a user