From: Frédéric Péters Date: Sat, 22 Feb 2020 18:36:34 +0000 (+0100) Subject: remove unused variable X-Git-Tag: v2022~39 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=db4bc587490d671a32be94c0c970e97ee71cad1a;hp=52b096caf305aa544dadaee88d0fb893ea65021d remove unused variable --- diff --git a/chloro/phyll/views.py b/chloro/phyll/views.py index 6f0f0f7..6c8fdab 100644 --- a/chloro/phyll/views.py +++ b/chloro/phyll/views.py @@ -123,7 +123,6 @@ class AtomFeed(Feed): return item.text def item_guid(self, item): - legacy_id = None for tag in item.tags.all(): if tag.name.startswith('old-post-id-'): return 'http://www.0d.be/posts/%s' % tag.name.split('-')[-1]