diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-06-08 15:16:37 +0530 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:12:15 -0700 |
commit | 2350df7a339472693f266cfa48d71b77ca399863 (patch) | |
tree | c73e5b2ba343c81fb9ec78a256ca10f506f73614 /tools/repopick.py | |
parent | 4a319b88165e7d6c46eb3350014ed1c4b0485a7d (diff) | |
download | build-2350df7a339472693f266cfa48d71b77ca399863.zip build-2350df7a339472693f266cfa48d71b77ca399863.tar.gz build-2350df7a339472693f266cfa48d71b77ca399863.tar.bz2 |
repopick: decode the result as UTF-8
Change-Id: I51f2defa861c86b51baa7bad1df1d9666b952160
Diffstat (limited to 'tools/repopick.py')
-rwxr-xr-x | tools/repopick.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/repopick.py b/tools/repopick.py index ea7227e..7336e78 100755 --- a/tools/repopick.py +++ b/tools/repopick.py @@ -181,7 +181,7 @@ for change in args.change_number: if args.verbose: print('Fetching from: %s\n' % url) f = urllib.request.urlopen(url) - d = f.read().decode() + d = f.read().decode("utf-8") # Parse the result if args.verbose: |