diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2013-05-08 05:06:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-16 00:05:07 +0300 |
commit | 4c47525c5a171b1282615c9fbc7d84addef85f92 (patch) | |
tree | a5a28be0e03dce7b0186db77374e008b7aad704a /meta/recipes-graphics | |
parent | d6fb741dfd828d40317175a624065918b3e5bfec (diff) | |
download | openembedded-core-4c47525c5a171b1282615c9fbc7d84addef85f92.tar.gz openembedded-core-4c47525c5a171b1282615c9fbc7d84addef85f92.tar.bz2 openembedded-core-4c47525c5a171b1282615c9fbc7d84addef85f92.zip |
bbclass: bb.fatal() clean up
The bb.fatal() is defined as:
def fatal(*args):
logger.critical(''.join(args))
sys.exit(1)
So anything after bb.fatal() in the same code block doesn't have any
effect, e.g.:
bb.fatal("%s_%s: %s" % (var, pkg, e))
raise e
The "raise e" should be removed.
I searched all the files which use bb.fatal(), only the following 3
classes have this issues:
insane.bbclass
package.bbclass
package_rpm.bbclass
[YOCTO #4461]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics')
0 files changed, 0 insertions, 0 deletions