This commit is contained in:
Kovid Goyal 2010-01-28 10:46:42 -07:00
parent affc72895b
commit c9f96840cc

View File

@ -53,6 +53,8 @@ class Economist(BasicNewsRecipe):
self.feed_dict.items()])
def eco_sort_sections(self, feeds):
if not feeds:
raise ValueError('No new articles found')
order = {
'The World This Week': 1,
'Leaders': 2,