summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/documentation-audit.sh
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-24 15:00:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:47:07 +0100
commitbb34181b42b62e0476ba9e12f9125ed9f785cf23 (patch)
treeb149c41e4509e67f4a0601b8a9bf944093b89958 /scripts/contrib/documentation-audit.sh
parentd893a2503da29ec99b3a911f8877cc59e7e6b50d (diff)
downloadpoky-bb34181b42b62e0476ba9e12f9125ed9f785cf23.tar.gz
bitbake: lib/bb/main: avoid importing all server/UI modules on every execution
We're importing the server and UI modules in order to check they are valid, but it turns out that that has some nasty side-effects. We don't actually need to do this except when --help is passed or the module doesn't exist, so rearrange the code so that we only do the module listing in those two cases. Additionally, let's just go ahead and catch all errors on import; we really don't care to have them cause a failure now. (Bitbake rev: c9dc6d9c86e8b887821a6d00346bd0b09e1da97c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/documentation-audit.sh')
0 files changed, 0 insertions, 0 deletions