bitbake: build/utils: Fix broken exception handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 May 2014 14:56:11 +0000 (15:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Jun 2014 13:29:32 +0000 (14:29 +0100)
commit38a306d00d42950ea8d04198123288ccfd7f370e
tree5b299e62c270ba4c3b5342fee3ebe4f4fe3c0d36
parent1ad91881bac492f4cf06d59c01b8ece0324419f4
bitbake: build/utils: Fix broken exception handling

Checking for explicit exception names is bad, we also want to be able top
rely on inheritance. Fix these checks to be part of the real except clauses
so SkipPackage is recognised as being inherited from SkipRecipe.

(Bitbake rev: b131229145e1f2c372d6230a7b554e436c13c3f9)

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