]> code.ossystems Code Review - openembedded-core.git/commit
base: Clean up unneeded len() calls
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Oct 2021 16:46:17 +0000 (17:46 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 29 Oct 2021 14:48:40 +0000 (04:48 -1000)
commite0cecf7b4a4b966f11527a88e632997bdf74af96
tree1f7c5a23ec80a3fa34c18956d243623d374a01bd
parentf16803718a19ace7b582c5b73924fe3112502927
base: Clean up unneeded len() calls

This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69376ac1a6147b26fe1abaa4cf68414024814d63)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/base.bbclass