]> code.ossystems Code Review - openembedded-core.git/commit
cve-check: be idiomatic
authorRoss Burton <ross.burton@intel.com>
Wed, 6 Nov 2019 15:37:22 +0000 (17:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Nov 2019 20:44:15 +0000 (20:44 +0000)
commit27ef8c40afc27ce0ae87d2fe9a973edc89133def
tree5aa9ac5cca2bd3416a7b1e3323d08d2d09dfee3c
parentbfaee04b8a7cb0fc6e149106619a01b848fd8a98
cve-check: be idiomatic

Instead of generating a series of indexes via range(len(list)), just iterate the
list.

(From OE-Core rev: 27eb839ee651c2d584db42d23bcf5dd764eb33f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cve-check.bbclass