From 00e24f24bda5355823bcbf520616aad6482dfa2e Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Wed, 23 Apr 2014 15:59:24 +0100 Subject: WorkerConnection: misc attributes _job is the job this worker is carrying out _exec_response_msg will contain the response the worker sends back to us when it finishes the build. --- distbuild/worker_build_scheduler.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'distbuild') diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py index 5fb1166b..4df728bb 100644 --- a/distbuild/worker_build_scheduler.py +++ b/distbuild/worker_build_scheduler.py @@ -282,6 +282,9 @@ class WorkerConnection(distbuild.StateMachine): self._worker_cache_server_port = worker_cache_server_port self._morph_instance = morph_instance self._helper_id = None + self._job = None + self._exec_response_msg = None + self._debug_json = False addr, port = self._conn.getpeername() name = socket.getfqdn(addr) @@ -290,6 +293,9 @@ class WorkerConnection(distbuild.StateMachine): def name(self): return self._worker_name + def job(self): + return self._job + def setup(self): distbuild.crash_point() -- cgit v1.2.1