From aca95298528c037a7b5a3df91174953cac7883be Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 10 Jan 2024 11:01:09 +0530 Subject: [PATCH] pep8 --- recipes/foreign_policy.recipe | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/foreign_policy.recipe b/recipes/foreign_policy.recipe index b918c38884..7f6db2dab3 100644 --- a/recipes/foreign_policy.recipe +++ b/recipes/foreign_policy.recipe @@ -62,7 +62,6 @@ class ForeignPolicy(BasicNewsRecipe): if current_section.lower() == 'recent issues': break else: - articles = [] title = self.tag_to_string(x) a = x.parent url = a['href'] @@ -76,4 +75,3 @@ class ForeignPolicy(BasicNewsRecipe): self.log('\t', title, url, '\n\t', desc) feeds_dict[current_section].append({"title": title, "url": url, "description": desc}) return [(section, articles) for section, articles in feeds_dict.items()] -