summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-20 14:40:46 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-20 14:40:46 +0900
commit2282af271bcf8e48c66785cd752c8bd848867fa2 (patch)
treeb49faadfd88e77f01ae50848d37e5f8a45b7c129
parent1fcfd0003fec62c18a7d7d90e6b990726b33a478 (diff)
downloadbuildstream-2282af271bcf8e48c66785cd752c8bd848867fa2.tar.gz
_scheduler/job.py: Disable attribute-defined-outside-init lint error
This is in a derived Process from the standard lib, we add this here because we are unsure about the constructor signature.
-rw-r--r--buildstream/_scheduler/job.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/_scheduler/job.py b/buildstream/_scheduler/job.py
index 3af9d7f43..b8b81f2a9 100644
--- a/buildstream/_scheduler/job.py
+++ b/buildstream/_scheduler/job.py
@@ -46,6 +46,7 @@ class Envelope():
# Process class that doesn't call waitpid on its own.
# This prevents conflicts with the asyncio child watcher.
class Process(multiprocessing.Process):
+ # pylint: disable=attribute-defined-outside-init
def start(self):
self._popen = self._Popen(self)
self._sentinel = self._popen.sentinel