summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-24 10:34:09 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-25 15:43:52 +0100
commit45a1d15f4cfc1c8cd44fd0dd3d06841b895d8371 (patch)
tree0a6828b4bd3c5994eef64c2c5712b48b303095f1
parentbab617d0c10f29b9c0d1dd3e858d5cf1852b7c08 (diff)
downloadbuildstream-45a1d15f4cfc1c8cd44fd0dd3d06841b895d8371.tar.gz
_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: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r--buildstream/_scheduler/jobs/job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_scheduler/jobs/job.py b/buildstream/_scheduler/jobs/job.py
index a1b90a080..60ae0d001 100644
--- a/buildstream/_scheduler/jobs/job.py
+++ b/buildstream/_scheduler/jobs/job.py
@@ -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),