Index: tools/check_git_config.py |
diff --git a/tools/check_git_config.py b/tools/check_git_config.py |
index ecdfc44273a8099c2469396c73612f2be07b7802..17b0d1ef4d742b015977d565531a24413e9932c4 100755 |
--- a/tools/check_git_config.py |
+++ b/tools/check_git_config.py |
@@ -111,7 +111,7 @@ def read_git_config(prop): |
proc = subprocess.Popen( |
[GIT_EXE, 'config', prop], stdout=subprocess.PIPE, cwd=REPO_ROOT) |
out, _ = proc.communicate() |
- return out.strip() |
+ return out.strip().decode('utf-8') |
except OSError as exc: |
if exc.errno != errno.ENOENT: |
logging.exception('Unexpected error when calling git') |