Handle issues with newlines in elog messages that can trigger an unhandled
authorZac Medico <zmedico@gentoo.org>
Wed, 9 Apr 2008 05:29:31 +0000 (05:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 9 Apr 2008 05:29:31 +0000 (05:29 -0000)
commit1a0b941b2c80fa569b31a578cbd933b6c0031d09
tree38291f96d882eb6687bab3c691beb81941318587
parent8ec5af26b02cdc3613f2545e4c0be4eee158352e
Handle issues with newlines in elog messages that can trigger an unhandled
ValueError to be raised from a split() call inside collect_ebuild_messages():
* Use \0 to delimit messages, so that that elog messages containing newlines
  are handled correctly.
* Handle a potential ValueError when splitting the message type.

svn path=/main/trunk/; revision=9763
bin/isolated-functions.sh
pym/portage/elog/messages.py