mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
4c7797c7f6
commit
aca9529852
@ -62,7 +62,6 @@ class ForeignPolicy(BasicNewsRecipe):
|
|||||||
if current_section.lower() == 'recent issues':
|
if current_section.lower() == 'recent issues':
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
articles = []
|
|
||||||
title = self.tag_to_string(x)
|
title = self.tag_to_string(x)
|
||||||
a = x.parent
|
a = x.parent
|
||||||
url = a['href']
|
url = a['href']
|
||||||
@ -76,4 +75,3 @@ class ForeignPolicy(BasicNewsRecipe):
|
|||||||
self.log('\t', title, url, '\n\t', desc)
|
self.log('\t', title, url, '\n\t', desc)
|
||||||
feeds_dict[current_section].append({"title": title, "url": url, "description": desc})
|
feeds_dict[current_section].append({"title": title, "url": url, "description": desc})
|
||||||
return [(section, articles) for section, articles in feeds_dict.items()]
|
return [(section, articles) for section, articles in feeds_dict.items()]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user