Fix some python3 encoding issues

* Add .decode('utf-8') where needed
* Add 'b' to `open` where needed, and remove where unnecessary

Change-Id: I0f03ecf9ed1a78e3b2f15f9469deb9aaab698657
This commit is contained in:
Chirayu Desai authored and Chirayu Desai committed 2013-11-21 06:03:22 +00:00
1 parent ce201a5311
commit 0eb35cbe50
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -761,7 +761,7 @@ class _FetchTimes(object):
def _Load(self):
if self._times is None:
try:
f = open(self._path)
f = open(self._path, 'rb')
except IOError:
self._times = {}
return self._times