Commit 452b747b authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

minor style correction

parent 46afb50b
Pipeline #28560 passed with stages
in 15 minutes and 3 seconds
......@@ -5,6 +5,7 @@ from django_celery_results.models import TaskResult
from ippidb.models import Job
class AlreadyExistError(Exception):
pass
......@@ -44,7 +45,7 @@ class MonitorTask(Task):
super(MonitorTask, self).on_success(retval, task_id, args, kwargs)
def on_failure(self, exc, task_id, args, kwargs, einfo):
self.write(std_err=''.join(traceback.format_tb(einfo.tb)))
self.write(std_err="".join(traceback.format_tb(einfo.tb)))
super(MonitorTask, self).on_failure(exc, task_id, args, kwargs, einfo)
def update_state(self, task_id=None, state=None, meta=None, **kwargs):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment