[bitbake-devel] [PATCH 1/1] bitbake:process: flush stderr/stdout to log

Christopher Larson kergoth at gmail.com
Tue Jun 13 15:46:16 UTC 2017


On Mon, Jun 12, 2017 at 10:12 AM, Juro Bystricky <juro.bystricky at intel.com>
wrote:

> -    finally:
> -        log.flush()
> -
> -    readextras([fobj for fobj, _ in extrafiles])
> +            read_all_pipes(log, rin, outdata, errdata)
> +
> +        # Pocess closed, drain all pipes...
> +        read_all_pipes(log, rin, outdata, errdata)
> +    finally:
> +        log.flush
>

You forgot a (), so you aren’t actually running flush here.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170613/eb3c4a3f/attachment-0002.html>


More information about the bitbake-devel mailing list