diff options
author | Mike Frysinger <vapier@google.com> | 2019-07-04 17:54:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2019-07-04 18:19:00 -0400 |
commit | 1b9adab75a87c5eb94c3c3b653fdc2c123ba0077 (patch) | |
tree | 32fe34adf853573fb11749f09b60c8a0f7b93399 /project.py | |
parent | 3698ab7c9200a2b65652e9a5f3a763cd7629af0c (diff) | |
download | git-repo-1b9adab75a87c5eb94c3c3b653fdc2c123ba0077.tar.gz |
handle binary stream from urllib.request.urlopen
Python 3 returns bytes by default with urlopen. Adjust our code to
handle that scenario and decode as necessary.
Bug: https://crbug.com/gerrit/10418
Change-Id: Icf4cd80e7ef92d71a3eefbc6113f1ba11c32eebc
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions