mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Accept all UTF-8 committer names"
This commit is contained in:
commit
e76efdd7b3
@ -2274,7 +2274,7 @@ class Project(object):
|
|||||||
p.stderr))
|
p.stderr))
|
||||||
r = p.stdout
|
r = p.stdout
|
||||||
try:
|
try:
|
||||||
r = r.decode()
|
r = r.decode('utf-8')
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
if r.endswith('\n') and r.index('\n') == len(r) - 1:
|
if r.endswith('\n') and r.index('\n') == len(r) - 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user