diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-28 14:32:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-30 09:54:35 +0100 |
commit | 3fb25ef24b6c2c337fb9b013aead197ca675305b (patch) | |
tree | 6e429b437c09363021d8446b7b2c1a02f8b112f0 /bitbake | |
parent | e118ee3ad85cc6e7977bbd6f5a5bd6fe57aef04e (diff) | |
download | ast2050-yocto-poky-3fb25ef24b6c2c337fb9b013aead197ca675305b.zip ast2050-yocto-poky-3fb25ef24b6c2c337fb9b013aead197ca675305b.tar.gz |
bitbake: server/bitbake: Remove launchUI method
With the removal of the none server type, we can remove the launchUI
method and simplify the code slightly.
(Bitbake rev: 9bef2f2dd0bcaa59528ebcb3c1ce053b7dff1ec6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/server/process.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/server/xmlrpc.py | 5 |
3 files changed, 1 insertions, 10 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index a868557..6c43aa8 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -271,7 +271,7 @@ def main(): os.environ[k] = cleanedvars[k] try: - return server.launchUI(ui_main, server_connection.connection, server_connection.events, configParams) + return ui_main(server_connection.connection, server_connection.events, configParams) finally: bb.event.ui_queue = [] server_connection.terminate() diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 5e2cade..163dbbb 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py @@ -264,7 +264,3 @@ class BitBakeServer(object): self.connection = BitBakeServerConnection(self) signal.signal(signal.SIGTERM, lambda i, s: self.connection.terminate(force=True)) return self.connection - - def launchUI(self, uifunc, *args): - return uifunc(*args) - diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py index 9482923..ca3a401 100644 --- a/bitbake/lib/bb/server/xmlrpc.py +++ b/bitbake/lib/bb/server/xmlrpc.py @@ -288,8 +288,3 @@ class BitBakeServer(object): def establishConnection(self): self.connection = BitBakeServerConnection(self.serverinfo) return self.connection - - def launchUI(self, uifunc, *args): - return uifunc(*args) - - |