[bitbake-devel] commit 6c3281a14 / set_context broken?

Rasmus Villemoes rasmus.villemoes at prevas.dk
Thu Aug 16 08:40:31 UTC 2018


On 2018-07-10 11:31, Rasmus Villemoes wrote:
> AFAICT, set_context in lib/bb/utils.py doesn't actually set the
> module-global _context variable, but just assigns to function-local
> variable by the same name. Hence it is effectively a no-op.
> 
> The python fix would be to add a "global _context" declaration, but
> since things have apparently worked for 5 years, perhaps one can simply
> delete set_context and remove the calls?

Ping.


More information about the bitbake-devel mailing list