mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake: bitbake-hashclient: Remove obsolete call to client.connect
The connect function was previously removed from the hashserv Client class but the bitbake-hashclient app was not updated. The client is connected during hashserv.create_client() anyway so not separate connect call is needed. (Bitbake rev: 99bdb236bceeffa0083a0fa529280b217c1d310d) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1d2fe91db5
commit
a8a468efac
@@ -151,9 +151,6 @@ def main():
|
|||||||
func = getattr(args, 'func', None)
|
func = getattr(args, 'func', None)
|
||||||
if func:
|
if func:
|
||||||
client = hashserv.create_client(args.address)
|
client = hashserv.create_client(args.address)
|
||||||
# Try to establish a connection to the server now to detect failures
|
|
||||||
# early
|
|
||||||
client.connect()
|
|
||||||
|
|
||||||
return func(args, client)
|
return func(args, client)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user