summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 16:01:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-16 22:14:01 +0100
commit90dab9783dc0e8c3ebf244d89f9523c39ff2255e (patch)
tree57daa5c92a342f072086ddfa81453f5d3919ffe3
parente1f6ebba3ab2fc8a469c1d96fc6d4c4b8f16845c (diff)
downloadpoky-90dab9783dc0e8c3ebf244d89f9523c39ff2255e.tar.gz
process.py: Fix issue where early errors weren't making it to the console
(Bitbake rev: d97f7d762e3d2f1b0da038d4d99f2531b2490670) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 5c1044dd50..3a0706c498 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -78,7 +78,6 @@ class ProcessServer(Process):
78 self.event_queue = event_queue 78 self.event_queue = event_queue
79 self.event = EventAdapter(event_queue) 79 self.event = EventAdapter(event_queue)
80 self._idlefunctions = {} 80 self._idlefunctions = {}
81 self.event_handle = bb.event.register_UIHhandler(self)
82 self.quit = False 81 self.quit = False
83 82
84 self.keep_running = Event() 83 self.keep_running = Event()
@@ -93,6 +92,7 @@ class ProcessServer(Process):
93 self._idlefunctions[function] = data 92 self._idlefunctions[function] = data
94 93
95 def run(self): 94 def run(self):
95 self.event_handle = bb.event.register_UIHhandler(self)
96 bb.cooker.server_main(self.cooker, self.main) 96 bb.cooker.server_main(self.cooker, self.main)
97 97
98 def main(self): 98 def main(self):