diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-04 21:10:11 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:10 +0100 |
commit | 32c9b3d99a0c27f6736696082b9da812a8464bf8 (patch) | |
tree | ec30617a737a0914e06d77234b6768327c6e6cea /scripts/postinst-intercepts | |
parent | 10a1b293191268e6792ac8e27bd6427f1974c7ce (diff) | |
download | openembedded-core-32c9b3d99a0c27f6736696082b9da812a8464bf8.tar.gz openembedded-core-32c9b3d99a0c27f6736696082b9da812a8464bf8.tar.bz2 openembedded-core-32c9b3d99a0c27f6736696082b9da812a8464bf8.zip |
yocto-compat-layer.py: Fix trace when layers can't be processed
When all of the requested layers have unsatisfied dependencies, an error
can occur. Check for the condition to avoid the traceback:
Traceback (most recent call last):
File "../scripts/yocto-compat-layer.py", line 203, in <module>
ret = main()
File "../scripts/yocto-compat-layer.py", line 194, in main
if not results[layer_name].wasSuccessful():
AttributeError: 'NoneType' object has no attribute 'wasSuccessful'
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/postinst-intercepts')
0 files changed, 0 insertions, 0 deletions