git/hooks: decode the output of the subprocess
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
9b93ce1537
commit
bd6180dcd0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def revs_between(head, base):
|
|||
if proc.returncode != 0:
|
||||
raise IOError('git rev-list failed: %r, err: %r' % (stdout, stderr))
|
||||
|
||||
for line in stdout.strip().split('\n'):
|
||||
for line in stdout.decode('utf-8').strip().split('\n'):
|
||||
yield line.strip()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue