Skip to content

Commit ec294aa

Browse files
committed
repo_check.py: enforce utf-8 encoding
... for compatibility with Windows
1 parent 1a0adfd commit ec294aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/repo_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_repo_url(repo_url):
102102
# Guess.
103103
cmd = 'git remote -v'
104104
p = Popen(cmd, shell=True, stdin=PIPE, stdout=PIPE,
105-
close_fds=True, universal_newlines=True)
105+
close_fds=True, universal_newlines=True, encoding='utf-8')
106106
stdout_data, stderr_data = p.communicate()
107107
stdout_data = stdout_data.split('\n')
108108
matches = [P_GIT_REMOTE.match(line) for line in stdout_data]

0 commit comments

Comments
 (0)