diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-31 10:28:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-31 17:34:44 +0100 |
commit | 8104b33656de0b619943bd7a9884eb650ccafbf4 (patch) | |
tree | e33dc44b01e6e03d3a543c1210372376e845baac /lib | |
parent | af3c8928a69f204d5ced02c947485990ac04a776 (diff) | |
download | bitbake-contrib-8104b33656de0b619943bd7a9884eb650ccafbf4.tar.gz |
prserv/cooker: Drop unused param
Drop pointless unused function parameter.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 2 | ||||
-rw-r--r-- | 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 db034b9e8..2ee349e04 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 3145689ba..306f0a3c4 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() |