Skip to content

Commit

Permalink
makecorever.py: Hide GIT error messages. Fixes #7744 (#7745)
Browse files Browse the repository at this point in the history
* makecorever.py: Hide GIT error messages. Fixes #7744
  • Loading branch information
M-Reimer authored Dec 10, 2020
1 parent eaaa1db commit 4566400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/makecorever.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def generate(path, platform_path, git_ver="ffffffff", git_desc="unspecified"):
def git(*args):
cmd = ["git", "-C", platform_path]
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()

try:
Expand Down

0 comments on commit 4566400

Please sign in to comment.