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