summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2021-04-28 10:51:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-01 22:46:42 +0100
commit6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655 (patch)
tree6701199ed410fbedad5ecf72fcc8315ea550b011 /meta/lib
parent20335cd89001f5fb159f5f1b0c3bd5e40b8b2fb5 (diff)
downloadopenembedded-core-6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655.tar.gz
prservice: Use new connect API
The new prserv connect() function decouples the code in oe-core from the exact classes and implementation details used within bitbake. This allows us to more easily switch over to a new asyncrpc based prservice. Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/prservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index fcdbe66c19..15ce060ff6 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -7,7 +7,7 @@ def prserv_make_conn(d, check = False):
host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f])
try:
conn = None
- conn = prserv.serv.PRServerConnection(host_params[0], int(host_params[1]))
+ conn = prserv.serv.connect(host_params[0], int(host_params[1]))
if check:
if not conn.ping():
raise Exception('service not available')