feeds: Raise an RSS2EmailError on invalid Feeds.index() arguments
authorW. Trevor King <wking@tremily.us>
Wed, 23 Jan 2013 14:13:43 +0000 (09:13 -0500)
committerW. Trevor King <wking@tremily.us>
Wed, 23 Jan 2013 14:16:48 +0000 (09:16 -0500)
commit933dc46f6af3fb5473da93e02c9a90c1e4b4ae5f
treeb5014afb9d7886680b10c04e08c089ec85b1d451
parent2217ec5fa589dd0353a05eec0eebf8d43073e34b
feeds: Raise an RSS2EmailError on invalid Feeds.index() arguments

Don't confuse non-Python folks by giving a traceback for this usage
error.

Reported-by: Dmitry Bogatov <KAction@gnu.org>
Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/error.py
rss2email/feeds.py