prservice.py: fix NameError: global name 'host' is not defined

Submitted by Martin Jansa on Jan. 25, 2013, 2 p.m.

Details

Message ID 1359122425-15797-1-git-send-email-Martin.Jansa@gmail.com
State Accepted
Commit 2f1aba504c592b5983d09e84cba71f86e8cea02a
Headers show

Commit Message

Martin Jansa Jan. 25, 2013, 2 p.m.
* http://git.openembedded.org/openembedded-core/commit/?id=e00f49de8b1f79c3e07b887d257bd75a46052fa0
  removed host and port variables

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/lib/oe/prservice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index 57fb39a..27883a7 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -10,7 +10,7 @@  def prserv_make_conn(d, check = False):
                 raise Exception('service not available')
         d.setVar("__PRSERV_CONN",conn)
     except Exception, exc:
-        bb.fatal("Connecting to PR service %s:%s failed: %s" % (host, port, str(exc)))
+        bb.fatal("Connecting to PR service %s:%s failed: %s" % (host_params[0], host_params[1], str(exc)))
 
     return conn