diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-01-05 15:45:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-06 15:27:35 +0000 |
commit | 773700dbc354425d599b223d72a0ccd2d034ce4a (patch) | |
tree | ba8560f143c83008bee21c426568a22023246dbb /bitbake/lib/bb/main.py | |
parent | 05b4fbc947cd2bf9493b74a80d1b58c8ddd480a2 (diff) | |
download | poky-773700dbc354425d599b223d72a0ccd2d034ce4a.tar.gz |
bitbake: xmplrpc: split connect method
Current code in connect method sets up event queue, which requires
registering UI handler. This functionality may not be needed for
some operations, e.g. for server termination.
Moved functionality of setting up event queue in from 'connect'
method to 'setupEventQueue' in BitBakeXMLRPCServerConnection class.
(Bitbake rev: 4429871da76d6bd29e023ff42740fe7daa6b40fa)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index c8530fc3d8..dd0439391e 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -403,6 +403,7 @@ def bitbake_main(configParams, configuration): | |||
403 | if not configParams.server_only: | 403 | if not configParams.server_only: |
404 | try: | 404 | try: |
405 | server_connection = server.establishConnection(featureset) | 405 | server_connection = server.establishConnection(featureset) |
406 | server_connection.setupEventQueue() | ||
406 | except Exception as e: | 407 | except Exception as e: |
407 | bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e))) | 408 | bb.fatal("Could not connect to server %s: %s" % (configParams.remote_server, str(e))) |
408 | 409 | ||