diff options
Diffstat (limited to 'meta/lib/oe/prservice.py')
| -rw-r--r-- | meta/lib/oe/prservice.py | 2 |
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): | |||
| 7 | host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f]) | 7 | host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f]) |
| 8 | try: | 8 | try: |
| 9 | conn = None | 9 | conn = None |
| 10 | conn = prserv.serv.PRServerConnection(host_params[0], int(host_params[1])) | 10 | conn = prserv.serv.connect(host_params[0], int(host_params[1])) |
| 11 | if check: | 11 | if check: |
| 12 | if not conn.ping(): | 12 | if not conn.ping(): |
| 13 | raise Exception('service not available') | 13 | raise Exception('service not available') |
