Skip to content
Snippets Groups Projects
Commit 45a1d15f authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_scheduler/jobs/job.py: Correct lint issue around abstract method


The linter cannot detect abstract methods the way we use them, so
this silences the warning which ensues.

Signed-off-by: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent bab617d0
No related branches found
No related tags found
1 merge request!892Fix lint issues
......@@ -414,7 +414,7 @@ class Job():
try:
# Try the task action
result = self.child_process()
result = self.child_process() # pylint: disable=assignment-from-no-return
except SkipJob as e:
elapsed = datetime.datetime.now() - starttime
self.message(MessageType.SKIPPED, str(e),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment