summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Donnelly <martin.donnelly@ge.com>2013-04-25 17:41:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-28 22:12:55 +0100
commit263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78 (patch)
treefcd1c1419908fdb750a0fab96bcdd397fd758b1f
parent389a4ab300465f7e461eff52bc80646246c359d5 (diff)
downloadbitbake-contrib-263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78.tar.gz
goggle: fix invalid error check
runCommand was returning 'error' but checking for 'err' resulting in an exception. Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/goggle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/goggle.py b/lib/bb/ui/goggle.py
index c0785b799..e8a54ab29 100644
--- a/lib/bb/ui/goggle.py
+++ b/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: