From 0eb35cbe5096128e4a760aca6842ecdbea5baf1a Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Tue, 19 Nov 2013 18:46:29 +0530 Subject: Fix some python3 encoding issues * Add .decode('utf-8') where needed * Add 'b' to `open` where needed, and remove where unnecessary Change-Id: I0f03ecf9ed1a78e3b2f15f9469deb9aaab698657 --- subcmds/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/sync.py') diff --git a/subcmds/sync.py b/subcmds/sync.py index e9d52b7b..d8aec59b 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -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 -- cgit v1.2.3-54-g00ecf