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

@ -34,7 +34,7 @@ def package(args, pkgname, reason="", dry=False):
pmb.helpers.file.replace(path, old, new)
# Verify
del(pmb.helpers.other.cache["apkbuild"][path])
del pmb.helpers.other.cache["apkbuild"][path]
apkbuild = pmb.parse.apkbuild(path)
if int(apkbuild["pkgrel"]) != pkgrel_new:
raise RuntimeError("Failed to bump pkgrel for package '" + pkgname +