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>
This commit is contained in:
parent
c88bfe215f
commit
8779ebcc90
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue