bitbake: event: fix resetting class handlers object
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Dec 2014 10:50:25 +0000 (10:50 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:52:22 +0000 (08:52 -0800)
commite716dc80b3bfe11b5a4f8f522eb7cb2f3b1eb55c
tree8137b3409543b6170843563e6f1bd90757c355c7
parent8dafbae3817c2d595bab8d3fd6355e5ab6ec99d5
bitbake: event: fix resetting class handlers object

If you don't explicitly specify to use a global variable when doing an
assignment, you will be setting a local variable instead, which means
this function wasn't working at all. It explains some odd behaviour we
have seen in the layer index where event handlers were sometimes
bleeding into other contexts where they should not have been.

(Bitbake rev: f12c738d3dc1f0fd105d457385511440024bffab)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
bitbake/lib/bb/event.py