summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r--bitbake/lib/bb/server/xmlrpc.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index 1ceca51e0a..7528138740 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -191,8 +191,7 @@ class XMLRPCServer(SimpleXMLRPCServer, BaseImplServer):
191 Constructor 191 Constructor
192 """ 192 """
193 BaseImplServer.__init__(self) 193 BaseImplServer.__init__(self)
194 if (interface[1] == 0): # anonymous port, not getting reused 194 self.single_use = interface[1] == 0 # anonymous port, not getting reused
195 self.single_use = True
196 # Use auto port configuration 195 # Use auto port configuration
197 if (interface[1] == -1): 196 if (interface[1] == -1):
198 interface = (interface[0], 0) 197 interface = (interface[0], 0)
@@ -205,7 +204,6 @@ class XMLRPCServer(SimpleXMLRPCServer, BaseImplServer):
205 self.commands = BitBakeServerCommands(self) 204 self.commands = BitBakeServerCommands(self)
206 self.autoregister_all_functions(self.commands, "") 205 self.autoregister_all_functions(self.commands, "")
207 self.interface = interface 206 self.interface = interface
208 self.single_use = False
209 207
210 def addcooker(self, cooker): 208 def addcooker(self, cooker):
211 BaseImplServer.addcooker(self, cooker) 209 BaseImplServer.addcooker(self, cooker)