forked from Mirror/pmbootstrap
Use simplified Python 3.8 syntax (MR 2327)
This commit was generated with: ruff check --fix --extend-select=UP .
This commit is contained in:
parent
fa2a7c502d
commit
f3f392ef66
13 changed files with 51 additions and 60 deletions
|
@ -132,7 +132,7 @@ def generate(arch, overview, pkgname=None, built=False):
|
|||
"""
|
||||
# Log message
|
||||
packages_str = pkgname if pkgname else "all packages"
|
||||
logging.info("Calculate packages that need to be built ({}, {})" "".format(packages_str, arch))
|
||||
logging.info(f"Calculate packages that need to be built ({packages_str}, {arch})")
|
||||
|
||||
# Order relevant packages
|
||||
ret = get_relevant_packages(arch, pkgname, built)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue