]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: modify: Make --no-extract work again
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 6 Dec 2023 20:55:31 +0000 (21:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Dec 2023 16:58:28 +0000 (16:58 +0000)
commit6a44fb10ef4b90ee24f470362007d56183abc593
tree016c8ed2662cbd9f7ae8bc0483482d2370021b7c
parent8ea8827ee49b7f0443b1c4bd47d1344a689d73a3
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: '.'

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>
scripts/lib/devtool/standard.py