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 --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project.py') diff --git a/project.py b/project.py index dec21ab1..66316411 100644 --- a/project.py +++ b/project.py @@ -1165,7 +1165,7 @@ class Project(object): last_mine = None cnt_mine = 0 for commit in local_changes: - commit_id, committer_email = commit.split(' ', 1) + commit_id, committer_email = commit.decode('utf-8').split(' ', 1) if committer_email == self.UserEmail: last_mine = commit_id cnt_mine += 1 -- cgit v1.2.3-54-g00ecf