mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
* makecorever.py: Hide GIT error messages. Fixes #7744
This commit is contained in:
parent
eaaa1dbcc8
commit
456640012c
@ -26,7 +26,7 @@ def generate(path, platform_path, git_ver="ffffffff", git_desc="unspecified"):
|
|||||||
def git(*args):
|
def git(*args):
|
||||||
cmd = ["git", "-C", platform_path]
|
cmd = ["git", "-C", platform_path]
|
||||||
cmd.extend(args)
|
cmd.extend(args)
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True, stderr=subprocess.DEVNULL)
|
||||||
return proc.stdout.readlines()[0].strip()
|
return proc.stdout.readlines()[0].strip()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user