mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
remove unused signal_finished method
This commit is contained in:
@@ -528,10 +528,6 @@ class BaseTask(LogErrorsTask):
|
|||||||
logger.error('Failed to update %s after %d retries.',
|
logger.error('Failed to update %s after %d retries.',
|
||||||
self.model._meta.object_name, _attempt)
|
self.model._meta.object_name, _attempt)
|
||||||
|
|
||||||
def signal_finished(self, pk):
|
|
||||||
pass
|
|
||||||
# notify_task_runner(dict(complete=pk))
|
|
||||||
|
|
||||||
def get_path_to(self, *args):
|
def get_path_to(self, *args):
|
||||||
'''
|
'''
|
||||||
Return absolute path relative to this file.
|
Return absolute path relative to this file.
|
||||||
@@ -907,8 +903,6 @@ class BaseTask(LogErrorsTask):
|
|||||||
raise TaskCancel(instance, rc)
|
raise TaskCancel(instance, rc)
|
||||||
else:
|
else:
|
||||||
raise TaskError(instance, rc)
|
raise TaskError(instance, rc)
|
||||||
if not hasattr(settings, 'CELERY_UNIT_TEST'):
|
|
||||||
self.signal_finished(pk)
|
|
||||||
|
|
||||||
def get_ssh_key_path(self, instance, **kwargs):
|
def get_ssh_key_path(self, instance, **kwargs):
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user