remove unused variable
authorFrédéric Péters <fpeters@0d.be>
Sat, 22 Feb 2020 18:36:34 +0000 (19:36 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sat, 22 Feb 2020 18:36:34 +0000 (19:36 +0100)
chloro/phyll/views.py

index 6f0f0f701fed8dca4047bc50523e1ba902962479..6c8fdabf26d5febc7f7e49fde7221bdbb621355e 100644 (file)
@@ -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]