treewide: fix various lint errors (MR 2197)

Fix errors found by new flake8 version
This commit is contained in:
Oliver Smith 2022-08-19 10:38:10 +02:00
parent 8d736c5fcc
commit c88a18d3f6
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ def parse_kernel_suffix(args, info, device, kernel):
# Move ret[key_kernel] to ret[key]
logging.verbose(f"parse_kernel_suffix: {key_kernel} => {key}")
ret[key] = ret[key_kernel]
del(ret[key_kernel])
del ret[key_kernel]
return ret