remove unsued variable
authorwang biao <biao716.wang@samsung.com>
Sat, 6 May 2023 06:57:28 +0000 (14:57 +0800)
committerwang biao <biao716.wang@samsung.com>
Sat, 6 May 2023 06:57:28 +0000 (14:57 +0800)
Change-Id: Ie31783cc00b4c87eaecbaeee81fba7944761da7e
Signed-off-by: wang biao <biao716.wang@samsung.com>
mic/utils/runner.py

index c06dd4e..bbb57dd 100644 (file)
@@ -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)