]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildstats: don't catch all errors from mkdirhier
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 May 2015 16:19:26 +0000 (17:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 May 2015 12:14:38 +0000 (13:14 +0100)
commit76daab82185851608e5e225487e411504ecb6569
tree034bd9bc355fed2121fc33793184b0e62c7653e8
parente6d2b407979869219da1f15ed4b5c1c804548fce
classes/buildstats: don't catch all errors from mkdirhier

mkdirhier() doesn't raise an exception if the directory exists, so if it
does raise one we should just be failing, otherwise we're just going
to hit errors later anyway.

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