mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: goggle: fix invalid error check
runCommand was returning 'error' but checking for 'err' resulting in an exception. (Bitbake master rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78) (Bitbake rev: ea7254390807d6d4a34bd07ebe33b381de462ced) Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c3cb650418
commit
2d31fa1a7f
@@ -81,7 +81,7 @@ def main (server, eventHandler):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
cmdline, error = server.runCommand(["getCmdLineAction"])
|
cmdline, error = server.runCommand(["getCmdLineAction"])
|
||||||
if err:
|
if error:
|
||||||
print("Error getting bitbake commandline: %s" % error)
|
print("Error getting bitbake commandline: %s" % error)
|
||||||
return 1
|
return 1
|
||||||
elif not cmdline:
|
elif not cmdline:
|
||||||
|
|||||||
Reference in New Issue
Block a user