diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 17:06:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-30 09:51:37 +0100 |
commit | c3b5cc5691291c74dd315c4439c80e0e4b2b5c1d (patch) | |
tree | b5957c1e407bc9a05763b166922823c7bf089aa3 /lib/bb/ui/uievent.py | |
parent | db4d80b5c2d32117cdf06333b9627202998b1512 (diff) | |
download | bitbake-c3b5cc5691291c74dd315c4439c80e0e4b2b5c1d.tar.gz |
server/xmlrpc: Simlify featureset handling
Rather than passing featureset around various places where the data doesn't
really belong, run a command at connection time to set the appropriate
features. This is similar to what the process server does.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/uievent.py')
-rw-r--r-- | lib/bb/ui/uievent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/ui/uievent.py b/lib/bb/ui/uievent.py index 2133b4447..98658f68b 100644 --- a/lib/bb/ui/uievent.py +++ b/lib/bb/ui/uievent.py @@ -28,7 +28,7 @@ import socket, threading, pickle from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler class BBUIEventQueue: - def __init__(self, BBServer, clientinfo=("localhost, 0"), featureset=[]): + def __init__(self, BBServer, clientinfo=("localhost, 0")): self.eventQueue = [] self.eventQueueLock = threading.Lock() @@ -44,7 +44,7 @@ class BBUIEventQueue: server.register_function( self.send_event, "event.sendpickle" ) server.socket.settimeout(1) - self.EventHandle = self.BBServer.registerEventHandler(self.host, self.port, featureset) + self.EventHandle = self.BBServer.registerEventHandler(self.host, self.port) if (self.EventHandle == None): bb.fatal("Could not register UI event handler") |