summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2021-02-05 11:26:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-06 09:12:00 +0000
commita8a468efac5c547caee173286c82e03d1867ae4b (patch)
tree9651df443d49002c7eed4c92302e4cf212bb4ce1 /bitbake/bin
parent1d2fe91db54e171fe66a697596a8f268d6ca8bbe (diff)
downloadpoky-a8a468efac5c547caee173286c82e03d1867ae4b.tar.gz
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>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-hashclient3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake-hashclient b/bitbake/bin/bitbake-hashclient
index 29ab65f177..a89290217b 100755
--- a/bitbake/bin/bitbake-hashclient
+++ b/bitbake/bin/bitbake-hashclient
@@ -151,9 +151,6 @@ def main():
151 func = getattr(args, 'func', None) 151 func = getattr(args, 'func', None)
152 if func: 152 if func:
153 client = hashserv.create_client(args.address) 153 client = hashserv.create_client(args.address)
154 # Try to establish a connection to the server now to detect failures
155 # early
156 client.connect()
157 154
158 return func(args, client) 155 return func(args, client)
159 156