summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py2
-rw-r--r--bitbake/lib/prserv/serv.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index db034b9e83..2ee349e041 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1576,7 +1576,7 @@ class BBCooker:
1576 return 1576 return
1577 1577
1578 def post_serve(self): 1578 def post_serve(self):
1579 prserv.serv.auto_shutdown(self.data) 1579 prserv.serv.auto_shutdown()
1580 bb.event.fire(CookerExit(), self.data) 1580 bb.event.fire(CookerExit(), self.data)
1581 1581
1582 1582
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py
index 3145689ba8..306f0a3c40 100644
--- a/bitbake/lib/prserv/serv.py
+++ b/bitbake/lib/prserv/serv.py
@@ -478,7 +478,7 @@ def auto_start(d):
478 logger.critical("PRservice %s:%d not available" % (host, port)) 478 logger.critical("PRservice %s:%d not available" % (host, port))
479 raise PRServiceConfigError 479 raise PRServiceConfigError
480 480
481def auto_shutdown(d=None): 481def auto_shutdown():
482 global singleton 482 global singleton
483 if singleton: 483 if singleton:
484 host, port = singleton.getinfo() 484 host, port = singleton.getinfo()