summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Donnelly <martin.donnelly@ge.com>2013-05-20 16:20:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-20 23:55:47 +0100
commitea7254390807d6d4a34bd07ebe33b381de462ced (patch)
tree6c9760f127b3f1eaf3f3a3895c33d566e62de2ba
parent034b392e9877309f15940b258fc2c16f16fb40b5 (diff)
downloadbitbake-ea7254390807d6d4a34bd07ebe33b381de462ced.tar.gz
goggle: fix invalid error check
runCommand was returning 'error' but checking for 'err' resulting in an exception. (Bitbake master rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78) 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: