Browse Source

BugFix git_status. STDERR to /dev/null

master
Dirk Alders 4 years ago
parent
commit
bb6b46d7bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      module_status.py

+ 1
- 1
module_status.py View File

139
 
139
 
140
 
140
 
141
 def module_git_status(module_folder):
141
 def module_git_status(module_folder):
142
-    p = subprocess.Popen("git -C %s status" % module_folder, stdout=subprocess.PIPE, shell=True)
142
+    p = subprocess.Popen("git -C %s status 2> /dev/null" % module_folder, stdout=subprocess.PIPE, shell=True)
143
     output = p.communicate()[0]
143
     output = p.communicate()[0]
144
     p_status = p.wait()
144
     p_status = p.wait()
145
     if p_status == 0:
145
     if p_status == 0:

Loading…
Cancel
Save