[bitbake-devel] [1.18][PATCH 1/3] goggle: fix invalid error check
Paul Eggleton
paul.eggleton at linux.intel.com
Mon May 20 15:20:14 UTC 2013
From: Martin Donnelly <martin.donnelly at ge.com>
runCommand was returning 'error' but checking for 'err'
resulting in an exception.
(Bitbake master rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78)
Signed-off-by: Martin Donnelly <martin.donnelly at ge.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
bitbake/lib/bb/ui/goggle.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py
index c0785b7..e8a54ab 100644
--- a/bitbake/lib/bb/ui/goggle.py
+++ b/bitbake/lib/bb/ui/goggle.py
@@ -81,7 +81,7 @@ def main (server, eventHandler):
try:
cmdline, error = server.runCommand(["getCmdLineAction"])
- if err:
+ if error:
print("Error getting bitbake commandline: %s" % error)
return 1
elif not cmdline:
--
1.8.1.2
More information about the bitbake-devel
mailing list