]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
buildstats-summary: add eventmask ChenQi/buildstats-summary
authorChen Qi <Qi.Chen@windriver.com>
Tue, 19 May 2015 07:31:29 +0000 (15:31 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Wed, 20 May 2015 02:15:03 +0000 (10:15 +0800)
commit2ec9d6e9df15ecea7011cf1d9e9e452b56150846
tree7d70274af8d67c99664fe08ebad59f9b3c889615
parent7ffe10df73cc20d10fcd41b121074445273bd60e
buildstats-summary: add eventmask

Add eventmask 'bb.event.BuildCompleted' for buildstats_summary handler to avoid
running the codes in the handler everytime there's an event.

The codes in buildstats_summary only need to run for bb.event.BuildCompleted.
So add this event mask.

Also, we remove the redundant isinstance() statement in the handler.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/classes/buildstats-summary.bbclass