classes/buildhistory: reduce parsing time
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 2 Dec 2013 18:50:50 +0000 (18:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Dec 2013 17:45:50 +0000 (17:45 +0000)
commit9c33bcf435fa4dd7359cd5568dc8f45003524bb1
tree005c24b1a26ef2e4e52c7ca066535242d7a05b1f
parentccc93c2a3a3d8c0d7a47578a100ad1a8f25366c6
classes/buildhistory: reduce parsing time

Disable several python functions if not parsing within the worker
context. This avoids executing expensive operations while parsing
recipes (which is unnecessary).

(Thanks to Richard Purdie for pointing out the issue and suggesting the
workaround.)

(From OE-Core rev: 540a2a30be21c3eca4323efbe91e7dcfc31a4c97)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass