From 2cfb076e4c48d126e80ad0c38eef86c7656388c2 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 4 Nov 2020 17:59:50 +0000 Subject: [PATCH] utils/check_output: Fix missing `ignore` parameter propagation --- devlib/utils/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/utils/misc.py b/devlib/utils/misc.py index 38ce21a..85230f0 100644 --- a/devlib/utils/misc.py +++ b/devlib/utils/misc.py @@ -205,7 +205,7 @@ def check_output(command, timeout=None, ignore=None, inputtext=None, **kwargs): """This is a version of subprocess.check_output that adds a timeout parameter to kill the subprocess if it does not return within the specified time.""" process = get_subprocess(command, **kwargs) - return check_subprocess_output(process, timeout=timeout, inputtext=inputtext) + return check_subprocess_output(process, timeout=timeout, ignore=ignore, inputtext=inputtext) def walk_modules(path):