From ddab25b0304d0c4560506a6b5648e2889e767b18 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Thu, 17 Feb 2022 19:37:16 +0100 Subject: [PATCH] Chroot.run_cmd(): fix parameter type annotations --- chroot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chroot.py b/chroot.py index a761115..3c91945 100644 --- a/chroot.py +++ b/chroot.py @@ -351,8 +351,8 @@ class Chroot: script: str, inner_env: dict[str, str] = {}, outer_env: dict[str, str] = os.environ.copy() | {'QEMU_LD_PREFIX': '/usr/aarch64-linux-gnu'}, - attach_tty: str = False, - capture_output: str = False, + attach_tty: bool = False, + capture_output: bool = False, cwd: str = None, fail_inactive: bool = True, stdout=None) -> subprocess.CompletedProcess: