diff options
-rw-r--r-- | build_files/scons/tools/Blender.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index 3e41222a621..71585a5f50f 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -425,7 +425,7 @@ def buildinfo(lenv, build_type): process = subprocess.Popen(['git', 'rev-parse', '--short', '@{u}'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) build_hash, stderr = process.communicate() - build_hash = build_hash.rstrip('\n') + build_hash = build_hash.strip() build_branch = os.popen('git rev-parse --abbrev-ref HEAD').read().strip() if build_hash == '': |