]> code.ossystems Code Review - openembedded-core.git/commitdiff
prservice.py: fix NameError: global name 'host' is not defined
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 25 Jan 2013 14:00:25 +0000 (15:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 14:06:07 +0000 (14:06 +0000)
* http://git.openembedded.org/openembedded-core/commit/?id=e00f49de8b1f79c3e07b887d257bd75a46052fa0
  removed host and port variables

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/prservice.py

index 57fb39a3717ca7cfe2fe169fc8f407e05efd7345..27883a7e90dbec286f5e2426db2e7e5687846386 100644 (file)
@@ -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