Chroot.run_cmd(): fix parameter type annotations

This commit is contained in:
InsanePrawn 2022-02-17 19:37:16 +01:00
parent 700c914855
commit ddab25b030

View file

@ -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: