diff options
author | 2013-04-25 17:41:06 +0100 | |
---|---|---|
committer | 2013-04-28 22:12:55 +0100 | |
commit | 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78 (patch) | |
tree | fcd1c1419908fdb750a0fab96bcdd397fd758b1f | |
parent | 389a4ab300465f7e461eff52bc80646246c359d5 (diff) | |
download | bitbake-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.py | 2 |
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: |