[bitbake-devel] [PATCH] command: add error to return of runCommand

Christopher Larson chris_larson at mentor.com
Mon Oct 29 20:04:09 UTC 2012


On Mon, Oct 29, 2012 at 1:01 PM, Christopher Larson <kergoth at gmail.com> wrote:
> -        ret = server.runCommand(cmdline['action'])
> -        if ret != True:
> -            print("Couldn't get default commandline! %s" % ret)
> +        elif ret != True:
> +            logger.error("Command '%s' failed: returned %s" % (cmdline, ret))

I forgot that I left the print->logger.error and improved error
message in. That should probably have been a separate commit. Let me
know if that's a concern for anyone.

-Chris




More information about the bitbake-devel mailing list