[oe-commits] Martin Jansa : prservice.py: fix NameError: global name 'host' is not defined

git at git.openembedded.org git at git.openembedded.org
Fri Jan 25 14:16:05 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 494439c95d33b2ad457cc205413680b0bf176560
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=494439c95d33b2ad457cc205413680b0bf176560

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Fri Jan 25 15:00:25 2013 +0100

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

* http://git.openembedded.org/openembedded-core/commit/?id=e00f49de8b1f79c3e07b887d257bd75a46052fa0
  removed host and port variables

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 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
 





More information about the Openembedded-commits mailing list