summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/server/xmlrpc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index a7ac969..b5980c6 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -242,9 +242,9 @@ class BitBakeXMLRPCServer(SimpleXMLRPCServer):
242 return 242 return
243 243
244class BitbakeServerInfo(): 244class BitbakeServerInfo():
245 def __init__(self, server): 245 def __init__(self, host, port):
246 self.host = server.host 246 self.host = host
247 self.port = server.port 247 self.port = port
248 248
249class BitBakeServerConnection(): 249class BitBakeServerConnection():
250 def __init__(self, serverinfo): 250 def __init__(self, serverinfo):
@@ -278,7 +278,7 @@ class BitBakeServer(object):
278 return self.server.register_idle_function 278 return self.server.register_idle_function
279 279
280 def saveConnectionDetails(self): 280 def saveConnectionDetails(self):
281 self.serverinfo = BitbakeServerInfo(self.server) 281 self.serverinfo = BitbakeServerInfo(self.server.host, self.server.port)
282 282
283 def detach(self, cooker_logfile): 283 def detach(self, cooker_logfile):
284 daemonize.createDaemon(self.server.serve_forever, cooker_logfile) 284 daemonize.createDaemon(self.server.serve_forever, cooker_logfile)