summaryrefslogtreecommitdiffstats
path: root/bitbake
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-05-03 16:24:13 +0100
commit8779ebcc902641203ab2eb2be06964dd922b591a (patch)
tree5523a2c28e894b494b4e6819292905b21ef33b8e /bitbake
parentc88bfe215f920555b4a7cb19ae4a546911bb4dd5 (diff)
downloadpoky-8779ebcc902641203ab2eb2be06964dd922b591a.tar.gz
bitbake: goggle: fix invalid error check
runCommand was returning 'error' but checking for 'err' resulting in an exception. (Bitbake rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78) Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/goggle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py
index c0785b7990..e8a54ab295 100644
--- a/bitbake/lib/bb/ui/goggle.py
+++ b/bitbake/lib/bb/ui/goggle.py
@@ -81,7 +81,7 @@ def main (server, eventHandler):
81 81
82 try: 82 try:
83 cmdline, error = server.runCommand(["getCmdLineAction"]) 83 cmdline, error = server.runCommand(["getCmdLineAction"])
84 if err: 84 if error:
85 print("Error getting bitbake commandline: %s" % error) 85 print("Error getting bitbake commandline: %s" % error)
86 return 1 86 return 1
87 elif not cmdline: 87 elif not cmdline: