diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2024-01-03 18:13:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-07 12:24:54 +0000 |
commit | fb0db5c48abb4d56233a175fdd349d18b972e452 (patch) | |
tree | 2c8bdf207dfdcabb98e4726d89347165ecaf642d /meta-yocto-bsp | |
parent | 5d9cd0ef5f7235eb5c8495a803bea6940c2994fe (diff) | |
download | openembedded-core-contrib-fb0db5c48abb4d56233a175fdd349d18b972e452.tar.gz |
devtool: modify: fix exception
Root Cause:
initial_revs is an empty dictionary and do not have "." key.
Traceback (most recent call last):
File "scripts/devtool", line 349, in <module>
ret = main()
File "scripts/devtool", line 336, in main
ret = args.func(args, config, basepath, workspace)
File "scripts/lib/devtool/standard.py", line 922, in modify
if not initial_revs["."]:
KeyError: '.'
Solution:
check key exists, then get its value.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp')
0 files changed, 0 insertions, 0 deletions