summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-06-08 15:16:37 +0530
committerChirayu Desai <cdesai@cyanogenmod.org>2013-06-08 15:16:37 +0530
commit623cbf825b322674f1bed6550ef8686d10f0af7d (patch)
treec11733eee7cde80e76759dc21763e25a1808a7a8 /tools
parent78d0ac87cc19ed98a5737ecc94286341b1a3c5fe (diff)
downloadbuild-623cbf825b322674f1bed6550ef8686d10f0af7d.zip
build-623cbf825b322674f1bed6550ef8686d10f0af7d.tar.gz
build-623cbf825b322674f1bed6550ef8686d10f0af7d.tar.bz2
repopick: decode the result as UTF-8
Change-Id: I51f2defa861c86b51baa7bad1df1d9666b952160
Diffstat (limited to 'tools')
-rwxr-xr-xtools/repopick.py2
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: