aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 10:28:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 17:34:44 +0100
commit8104b33656de0b619943bd7a9884eb650ccafbf4 (patch)
treee33dc44b01e6e03d3a543c1210372376e845baac
parentaf3c8928a69f204d5ced02c947485990ac04a776 (diff)
downloadbitbake-8104b33656de0b619943bd7a9884eb650ccafbf4.tar.gz
bitbake-8104b33656de0b619943bd7a9884eb650ccafbf4.tar.bz2
bitbake-8104b33656de0b619943bd7a9884eb650ccafbf4.zip
prserv/cooker: Drop unused param
Drop pointless unused function parameter. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 db034b9e..2ee349e0 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 3145689b..306f0a3c 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()