]> code.ossystems Code Review - openembedded-core.git/commit
devtool-source.bbclass: Use with to manage file handle lifetime
authorOla x Nilsson <ola.x.nilsson@axis.com>
Mon, 21 Oct 2019 10:30:33 +0000 (12:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2019 15:26:14 +0000 (16:26 +0100)
commiteb763856be8da854d37c7d4b8e8d645ab1d3fa06
tree2df543b662e046d464f794fa0e2a1d565f3e3df3
parente90978056c4b49e138b3d422939bf995829ec3b0
devtool-source.bbclass: Use with to manage file handle lifetime

Replace copy-and-if with a filtering list comprehension.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/devtool-source.bbclass