commit | 0eb35cbe5096128e4a760aca6842ecdbea5baf1a | [log] [tgz] |
---|---|---|
author | Chirayu Desai <cdesai@cyanogenmod.org> | Tue Nov 19 18:46:29 2013 +0530 |
committer | Chirayu Desai <chirayudesai1@gmail.com> | Thu Nov 21 06:03:22 2013 +0000 |
tree | 6134f979145140346b3eeeacfd12cbd6572f32d3 | |
parent | ce201a5311c2fe90dce479ee12c078cd26ccc0c4 [diff] |
Fix some python3 encoding issues * Add .decode('utf-8') where needed * Add 'b' to `open` where needed, and remove where unnecessary Change-Id: I0f03ecf9ed1a78e3b2f15f9469deb9aaab698657
diff --git a/subcmds/sync.py b/subcmds/sync.py index e9d52b7..d8aec59 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py
@@ -761,7 +761,7 @@ 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