[oe-commits] [bitbake] 01/17: prserv/cooker: Drop unused param
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 31 16:56:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 8104b33656de0b619943bd7a9884eb650ccafbf4
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Aug 31 10:28:46 2017 +0100
prserv/cooker: Drop unused param
Drop pointless unused function parameter.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/cooker.py | 2 +-
lib/prserv/serv.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index db034b9..2ee349e 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 3145689..306f0a3 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()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list