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 23:30:03 +0100 |
commit | 313bf30db7bda51a061bae9c8d9c489e4a7c0167 (patch) | |
tree | 5f78534624948390f2506dfc3fd40867dfc6b2ee /bitbake | |
parent | 92903ced3ac318c6a7e7e43bcdd1895d3c7b83d1 (diff) | |
download | poky-313bf30db7bda51a061bae9c8d9c489e4a7c0167.tar.gz |
bitbake: prserv/cooker: Drop unused param
Drop pointless unused function parameter.
(Bitbake rev: 8104b33656de0b619943bd7a9884eb650ccafbf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 | ||||
-rw-r--r-- | bitbake/lib/prserv/serv.py | 2 |
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 | ||
481 | def auto_shutdown(d=None): | 481 | def auto_shutdown(): |
482 | global singleton | 482 | global singleton |
483 | if singleton: | 483 | if singleton: |
484 | host, port = singleton.getinfo() | 484 | host, port = singleton.getinfo() |