]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-check: be idiomatic
authorRoss Burton <ross.burton@intel.com>
Mon, 24 Jun 2019 10:42:55 +0000 (11:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jun 2019 10:14:02 +0000 (11:14 +0100)
commit27eb839ee651c2d584db42d23bcf5dd764eb33f1
tree0bf8dfd78e986da1e7e951f59641f9aba964f804
parentc0eabd30d7b9c2517f4ec9229640be421ecc8a5e
cve-check: be idiomatic

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

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