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
|
@ -12,7 +12,7 @@ def binfmt_info(arch_qemu):
|
|||
full = {}
|
||||
info = pmb.config.pmb_src / "pmb/data/qemu-user-binfmt.txt"
|
||||
logging.verbose(f"parsing: {info}")
|
||||
with open(info, "r") as handle:
|
||||
with open(info) as handle:
|
||||
for line in handle:
|
||||
if line.startswith("#") or "=" not in line:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue