mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-16 11:40:28 +08:00
If description doesn't exist, use title instead
This commit is contained in:
@@ -63,8 +63,7 @@ for feed in map(feedparser.parse, FedMag):
|
||||
if not article_desc.startswith('<p>'):
|
||||
article_desc = '<p>%s</p>' % article_desc
|
||||
except AttributeError:
|
||||
print ('AttributeError. Going to next item')
|
||||
continue
|
||||
article_desc = title
|
||||
# we got
|
||||
# Tue, 20 Oct 2015 03:28:42 +0000
|
||||
# But we expect
|
||||
|
||||
Reference in New Issue
Block a user