Ross Burton <[email protected]> escreveu no dia quinta, 6/10/2022 à(s)
11:51:

>
>
> > On 30 Sep 2022, at 18:54, Jose Quaresma via lists.openembedded.org
> <[email protected]> wrote:
> > -        bb.fatal( "config analysis failed: %s" %
> e.output.decode('utf-8'))
> > +        bb.fatal( "config analysis failed when running '%s': %s" % ("
> ".join(cmd), e.output.decode('utf-8')))
>
> Much easier to just use e.cmd.
>

It's really much simpler. thank you, I will send a v2

Jose


>
>
> https://docs.python.org/3/library/subprocess.html#subprocess.CalledProcessError
>
> Ross



-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171520): 
https://lists.openembedded.org/g/openembedded-core/message/171520
Mute This Topic: https://lists.openembedded.org/mt/94022666/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to