Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/cmake/project_info.py')
-rwxr-xr-xbuild_files/cmake/project_info.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/cmake/project_info.py b/build_files/cmake/project_info.py
index 0b922979a63..7162b324f94 100755
--- a/build_files/cmake/project_info.py
+++ b/build_files/cmake/project_info.py
@@ -224,7 +224,9 @@ def project_name_get(path, fallback="Blender", prefix="Blender_"):
import subprocess
info = subprocess.Popen(["svn", "info", path],
- stdout=subprocess.PIPE).communicate()[0].decode()
+ stdout=subprocess.PIPE).communicate()[0]
+ # string version, we only want the URL
+ info = info.decode(encoding="utf-8", errors="ignore")
for l in info.split("\n"):
l = l.strip()