From 45a1d15f4cfc1c8cd44fd0dd3d06841b895d8371 Mon Sep 17 00:00:00 2001
From: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Date: Wed, 24 Oct 2018 10:34:09 +0100
Subject: [PATCH] _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>
---
 buildstream/_scheduler/jobs/job.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildstream/_scheduler/jobs/job.py b/buildstream/_scheduler/jobs/job.py
index a1b90a080e..60ae0d001d 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),
-- 
GitLab