remove unused signal_finished method

This commit is contained in:
AlanCoding 2017-08-30 13:44:37 -04:00
parent de58d6764f
commit 853d38b757
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -528,10 +528,6 @@ class BaseTask(LogErrorsTask):
logger.error('Failed to update %s after %d retries.',
self.model._meta.object_name, _attempt)
def signal_finished(self, pk):
pass
# notify_task_runner(dict(complete=pk))
def get_path_to(self, *args):
'''
Return absolute path relative to this file.
@ -907,8 +903,6 @@ class BaseTask(LogErrorsTask):
raise TaskCancel(instance, rc)
else:
raise TaskError(instance, rc)
if not hasattr(settings, 'CELERY_UNIT_TEST'):
self.signal_finished(pk)
def get_ssh_key_path(self, instance, **kwargs):
'''