mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 21:59:42 +01:00
bitbake: prserv: Add connect function
This function abstracts the setup of a PR service client connection so that openembedded-core doesn't need to be updated any time the details are changed. (Bitbake rev: d892287b31f81b075983ba500be265f75b53df64) 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
ad5c898808
commit
ebb7adac03
@@ -482,3 +482,6 @@ def auto_shutdown():
|
||||
def ping(host, port):
|
||||
conn=PRServerConnection(host, port)
|
||||
return conn.ping()
|
||||
|
||||
def connect(host, port):
|
||||
return PRServerConnection(host, port)
|
||||
|
||||
Reference in New Issue
Block a user