mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
lint fixes
This commit is contained in:
parent
14b610dabf
commit
8501a45531
@ -2,7 +2,6 @@
|
||||
# All Rights Reserved.
|
||||
|
||||
# Python
|
||||
import datetime
|
||||
import dateutil
|
||||
import functools
|
||||
import html
|
||||
@ -889,6 +888,7 @@ class ProjectUpdateEventsList(SubListAPIView):
|
||||
job_created=self.get_parent_object().created_or_epoch
|
||||
)
|
||||
|
||||
|
||||
class SystemJobEventsList(SubListAPIView):
|
||||
|
||||
model = models.SystemJobEvent
|
||||
@ -907,6 +907,7 @@ class SystemJobEventsList(SubListAPIView):
|
||||
job_created=self.get_parent_object().created_or_epoch
|
||||
)
|
||||
|
||||
|
||||
class ProjectUpdateCancel(RetrieveAPIView):
|
||||
|
||||
model = models.ProjectUpdate
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
# All Rights Reserved.
|
||||
|
||||
# Python
|
||||
import datetime
|
||||
import logging
|
||||
|
||||
# Django
|
||||
|
||||
@ -1031,6 +1031,7 @@ def truncate_stdout(stdout, size):
|
||||
|
||||
return stdout + u'\u001b[0m' * (set_count - reset_count)
|
||||
|
||||
|
||||
def deepmerge(a, b):
|
||||
"""
|
||||
Merge dict structures and return the result.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user