From 1ce1c11a12cf13744352030dec3b04322e7f16d0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Feb 2009 10:24:06 +0000 Subject: For compatibility with python-3.0, open files in text mode where appropriate. svn path=/main/trunk/; revision=12642 --- pym/portage/elog/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/elog/messages.py') diff --git a/pym/portage/elog/messages.py b/pym/portage/elog/messages.py index ad95c975d..a09b73229 100644 --- a/pym/portage/elog/messages.py +++ b/pym/portage/elog/messages.py @@ -35,7 +35,7 @@ def collect_ebuild_messages(path): logentries[msgfunction] = [] lastmsgtype = None msgcontent = [] - for l in open(filename, "rb"): + for l in open(filename): if not l: continue try: -- cgit v1.2.3-1-g7c22