From 66b48ad8fb3bea4c0b643fe23fd25e70843067cd Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 16 Jul 2020 12:47:28 +0200 Subject: Fix git tag warning when running make update after recent changes --- build_files/utils/make_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files/utils') diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py index 9a3d25f4952..e94c8e3550a 100755 --- a/build_files/utils/make_utils.py +++ b/build_files/utils/make_utils.py @@ -48,7 +48,7 @@ def git_branch(git_command): def git_tag(git_command): # Get current tag name. try: - tag = subprocess.check_output([git_command, "describe", "--exact-match"]) + tag = subprocess.check_output([git_command, "describe", "--exact-match"], stderr=subprocess.STDOUT) except subprocess.CalledProcessError as e: return None -- cgit v1.2.3