From befa5deb340f4f7d3206d37041c02082d382f78c Mon Sep 17 00:00:00 2001 From: wang biao Date: Sat, 6 May 2023 14:57:28 +0800 Subject: [PATCH] remove unsued variable Change-Id: Ie31783cc00b4c87eaecbaeee81fba7944761da7e Signed-off-by: wang biao --- mic/utils/runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mic/utils/runner.py b/mic/utils/runner.py index c06dd4e..bbb57dd 100644 --- a/mic/utils/runner.py +++ b/mic/utils/runner.py @@ -72,8 +72,7 @@ def runtool(cmdln_or_args, catch=1): else: raise # relay finally: - if catch != 3: - os.close(dev_null) + pass return (p.returncode, out) -- 2.7.4