forked from Mirror/pmbootstrap
treewide: fix various lint errors (MR 2197)
Fix errors found by new flake8 version
This commit is contained in:
parent
8d736c5fcc
commit
c88a18d3f6
3 changed files with 3 additions and 3 deletions
|
@ -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 +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue