collect_ebuild_messages: validate msg type
authorZac Medico <zmedico@gentoo.org>
Fri, 18 Nov 2011 02:55:28 +0000 (18:55 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 18 Nov 2011 02:55:28 +0000 (18:55 -0800)
commit87cd5dba474f758e291b87a39366bd7edd748bf7
treee09da6999f6d80fd587a235615d3df6a9dba922b
parent3a60d4637ce9c69936f977a79d636c51257cc886
collect_ebuild_messages: validate msg type

This will handle invalid message types like the one that triggers the
KeyError in dblink._elog_process for bug #390833. It will also output
the content of the line in order to help diagnose the source of
corruption.
pym/portage/elog/messages.py