]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-db-native: pycodestyle fixes
authorNiko Mauno <niko.mauno@vaisala.com>
Tue, 4 Nov 2025 08:33:30 +0000 (08:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Nov 2025 17:23:24 +0000 (17:23 +0000)
commitc3b0d276992f234b09a7f0fd652dc26e20d00616
tree987354d5608b507ee31976ea903c9501d0c4004a
parent680428ab19860417e6bee6a57ccf2e25ddbaa4cb
cve-update-db-native: pycodestyle fixes

Fixes following pycodestyle complaints:

  cve-update-db-native.bb:80:39: E712 comparison to True should be 'if cond is True:' or 'if cond:'
  cve-update-db-native.bb:128:20: E401 multiple imports on one line
  cve-update-db-native.bb:130:18: E401 multiple imports on one line
  cve-update-db-native.bb:171:21: E741 ambiguous variable name 'l'
  cve-update-db-native.bb:335:26: E225 missing whitespace around operator
  cve-update-db-native.bb:344:12: E713 test for membership should be 'not in'
  cve-update-db-native.bb:347:12: E713 test for membership should be 'not in'

Also leaves out a redundant 'gzip' import in update_db_file().

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-core/meta/cve-update-db-native.bb