bitbake: compat, event: use OrderedDict from py2.7 for the event handlers
authorChristopher Larson <chris_larson@mentor.com>
Mon, 10 Sep 2012 22:23:19 +0000 (22:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Sep 2012 09:29:33 +0000 (10:29 +0100)
commit6d2d06f45e4f97a65fd36d1b4b1d1a372cbdb6f0
treeeece0cdbb42979299bb2170431b0222e01fe9f6d
parentcb277bfec1405324db972392e8f3fe184cd0a480
bitbake: compat, event: use OrderedDict from py2.7 for the event handlers

This ensures that our event handlers get run in registration order, making the
behavior more deterministic. I pulled in the python2.7 OrderedDict to avoid
essentially reimplementing a version of it ourselves, figuring we can drop it
when we bump our required python version next.

(Bitbake rev: 44aa0b0537d3fbd1272015e7677948f84d8c0607)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/compat.py
bitbake/lib/bb/event.py