Handle issues with newlines in elog messages that can trigger an unhandled
authorZac Medico <zmedico@gentoo.org>
Wed, 9 Apr 2008 05:31:53 +0000 (05:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 9 Apr 2008 05:31:53 +0000 (05:31 -0000)
commit4f6b4ce641ee2e33b11c23d1c955c18e906a8a72
treeb0ee7b0d9ab1dfeb7e38bc3629f1bb633c8a7fdb
parentc4b00468909daab5b1ff48178cfaef6b60a66f02
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.
(trunk r9763)

svn path=/main/branches/2.1.2/; revision=9764
bin/isolated-functions.sh
pym/portage.py