summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/cooker.py2
-rw-r--r--lib/prserv/serv.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index db034b9e83..2ee349e041 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1576,7 +1576,7 @@ class BBCooker:
return
def post_serve(self):
- prserv.serv.auto_shutdown(self.data)
+ prserv.serv.auto_shutdown()
bb.event.fire(CookerExit(), self.data)
diff --git a/lib/prserv/serv.py b/lib/prserv/serv.py
index 3145689ba8..306f0a3c40 100644
--- a/lib/prserv/serv.py
+++ b/lib/prserv/serv.py
@@ -478,7 +478,7 @@ def auto_start(d):
logger.critical("PRservice %s:%d not available" % (host, port))
raise PRServiceConfigError
-def auto_shutdown(d=None):
+def auto_shutdown():
global singleton
if singleton:
host, port = singleton.getinfo()