]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: catch an extra exception in check_create_long_filename
authorJoshua Lock <josh@linux.intel.com>
Wed, 23 May 2012 23:28:59 +0000 (16:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 May 2012 07:34:51 +0000 (08:34 +0100)
commitb066906477eb0496a2babb3d8e87682a1b7df0de
treefbedeb944158bed9dbd1dba05a291eb9de6c84f4
parent719d44305508c75a9f2decacdff6558ca14277bb
sanity.bbclass: catch an extra exception in check_create_long_filename

The call to bb.mkdirhier() in check_create_long_filename() can fail with an
OSError, explicitly catch this and report something useful to the user.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/sanity.bbclass