]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
data_smart: Simplify ExpansionError exception
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 May 2016 07:22:52 +0000 (08:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2016 14:28:23 +0000 (15:28 +0100)
commitb19a4c5166303b1fa680582adf63e6a5564bfb4c
tree5f6ac8e8e47a7cd69194160caf89bd8af9d3420f
parentd0f904d407f57998419bd9c305ce53e5eaa36b24
data_smart: Simplify ExpansionError exception

This seemingly convoluted syntax doesn't work in python3. Instead
use the chained exception handling syntax which appears to make more
sense here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/data_smart.py