git_branch_summary: use utf-8 for 'git branch -vv' output

Change-Id: I8dc1ac7bb25b1d2944cfe6a659aa3c2a7d1e56ed
This commit is contained in:
Neels Hofmeyr 2017-09-16 22:08:42 +02:00
parent 1c1e4d2b75
commit 41c369cdd7
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ interesting = []
def do_one_git(git_dir):
global interesting
branch_strs = subprocess.check_output(('git', '-C', git_dir, 'branch', '-vv')).decode().splitlines()
branch_strs = subprocess.check_output(('git', '-C', git_dir, 'branch', '-vv')).decode('utf-8').splitlines()
interesting_branches = []
for line in branch_strs: