mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
devtool: modify: Make --no-extract work again
This avoids the following error when using --no-extract, introduced in
commit 900129cbdf (devtool: add support for git submodules):
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 995, in modify
for commit in commits[name]:
KeyError: '.'
(From OE-Core rev: 6a44fb10ef4b90ee24f470362007d56183abc593)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dd2fb8f00a
commit
9a5c1456ba
@@ -993,7 +993,8 @@ def modify(args, config, basepath, workspace):
|
||||
'}\n')
|
||||
if initial_revs:
|
||||
for name, rev in initial_revs.items():
|
||||
f.write('\n# initial_rev %s: %s\n' % (name, rev))
|
||||
f.write('\n# initial_rev %s: %s\n' % (name, rev))
|
||||
if name in commits:
|
||||
for commit in commits[name]:
|
||||
f.write('# commit %s: %s\n' % (name, commit))
|
||||
if branch_patches:
|
||||
|
||||
Reference in New Issue
Block a user