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>
This commit is contained in:
Richard Purdie 2011-06-15 16:01:37 +01:00
parent e1f6ebba3a
commit 90dab9783d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,6 @@ class ProcessServer(Process):
self.event_queue = event_queue
self.event = EventAdapter(event_queue)
self._idlefunctions = {}
self.event_handle = bb.event.register_UIHhandler(self)
self.quit = False
self.keep_running = Event()
@ -93,6 +92,7 @@ class ProcessServer(Process):
self._idlefunctions[function] = data
def run(self):
self.event_handle = bb.event.register_UIHhandler(self)
bb.cooker.server_main(self.cooker, self.main)
def main(self):