diff options
Diffstat (limited to 'bitbake/lib/bb/server/xmlrpc.py')
| -rw-r--r-- | bitbake/lib/bb/server/xmlrpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py index 17eb28b7d4..1ceca51e0a 100644 --- a/bitbake/lib/bb/server/xmlrpc.py +++ b/bitbake/lib/bb/server/xmlrpc.py | |||
| @@ -302,7 +302,9 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection): | |||
| 302 | return None | 302 | return None |
| 303 | 303 | ||
| 304 | self.transport.set_connection_token(token) | 304 | self.transport.set_connection_token(token) |
| 305 | return self | ||
| 305 | 306 | ||
| 307 | def setupEventQueue(self): | ||
| 306 | self.events = uievent.BBUIEventQueue(self.connection, self.clientinfo) | 308 | self.events = uievent.BBUIEventQueue(self.connection, self.clientinfo) |
| 307 | for event in bb.event.ui_queue: | 309 | for event in bb.event.ui_queue: |
| 308 | self.events.queue_event(event) | 310 | self.events.queue_event(event) |
| @@ -314,8 +316,6 @@ class BitBakeXMLRPCServerConnection(BitBakeBaseServerConnection): | |||
| 314 | # no need to log it here, the error shall be sent to the client | 316 | # no need to log it here, the error shall be sent to the client |
| 315 | raise BaseException(error) | 317 | raise BaseException(error) |
| 316 | 318 | ||
| 317 | return self | ||
| 318 | |||
| 319 | def removeClient(self): | 319 | def removeClient(self): |
| 320 | if not self.observer_only: | 320 | if not self.observer_only: |
| 321 | self.connection.removeClient() | 321 | self.connection.removeClient() |
