From bb6b46d7bc77897d49b502bb822b898b0cd8b328 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Thu, 14 Jan 2021 00:48:56 +0100 Subject: [PATCH] BugFix git_status. STDERR to /dev/null --- module_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_status.py b/module_status.py index aa845a1..e387053 100644 --- a/module_status.py +++ b/module_status.py @@ -139,7 +139,7 @@ def module_unittest_coverage(module_folder): def module_git_status(module_folder): - p = subprocess.Popen("git -C %s status" % module_folder, stdout=subprocess.PIPE, shell=True) + p = subprocess.Popen("git -C %s status 2> /dev/null" % module_folder, stdout=subprocess.PIPE, shell=True) output = p.communicate()[0] p_status = p.wait() if p_status == 0: