aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-27 14:07:28 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-27 14:07:28 +0000
commitde702b9b0baac66d645b0c848b79a259785b5431 (patch)
treea6f9d7ddf4ee26fb0e4bed34f317c7f134368d94 /pym/portage/elog
parentMake all the elog functions split lines when displaying output, just like (diff)
downloadportage-de702b9b0baac66d645b0c848b79a259785b5431.tar.gz
portage-de702b9b0baac66d645b0c848b79a259785b5431.tar.bz2
portage-de702b9b0baac66d645b0c848b79a259785b5431.zip
Make elog_base() just use \n as the delimiter in the file since it's safe
now that lines are always split. svn path=/main/trunk/; revision=11220
Diffstat (limited to 'pym/portage/elog')
-rw-r--r--pym/portage/elog/messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/elog/messages.py b/pym/portage/elog/messages.py
index de736664c..2b9f1b337 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, "r").read().split("\0"):
+ for l in open(filename, "r"):
if not l:
continue
try: