Instead of raising a TypeError from the NewsItem constructor, check the path
authorZac Medico <zmedico@gentoo.org>
Wed, 12 Nov 2008 18:43:19 +0000 (18:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 12 Nov 2008 18:43:19 +0000 (18:43 -0000)
commit3c12e1cd64bfa8ace390f1a42d8e9b5ed3adca55
treefde3da159003262d1a25df96d6294f826e11f28b
parentcae5acc17d9dd328662eb7788510b8d0a2a1e743
Instead of raising a TypeError from the NewsItem constructor, check the path
inside NewsManager.updateItems() before the NewsItem constructor is called.

svn path=/main/trunk/; revision=11863
pym/portage/news.py