bitbake: cooker.py: Remove global scope class event handlers
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 May 2013 09:48:26 +0000 (10:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 May 2013 09:34:52 +0000 (10:34 +0100)
commit0e2722780d0788a80789615ce7618f4c5269ac30
treeace52b975d599c425d35663275ed96dd49784275
parent365eb7cd81145b1d51e255ebada58bfd6c92d021
bitbake: cooker.py: Remove global scope class event handlers

Its confusing when an event handler in for example a bbclass receives
events for a recipe which doesn't use the class. This is due to the
class event handlers having confusing scope. Worse, the issue is not
deterministic and the events a handler will see depends on the parse
order.

To avoid these issues, remove the class event handler global scope
and only have class handlers recieve events for recipes using the
class.

(Bitbake rev: 7fb95f3d133e440d463d2faa7151c731f8e1ae96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py