make mypy happy (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-13 05:35:30 +02:00 committed by Oliver Smith
parent f2ca9c618e
commit 0365438134
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 19 additions and 14 deletions

View file

@ -551,9 +551,7 @@ def qemu(args: PmbArgs):
def stats(args: PmbArgs):
# Chroot suffix
chroot = Chroot.native()
if args.arch != Arch.native():
chroot = Chroot.buildroot(args.arch)
chroot = Chroot.buildroot(args.arch or Arch.native())
# Install ccache and display stats
pmb.chroot.apk.install(["ccache"], chroot)