Ticket #1572: feedgenerator_02.py.patch
File feedgenerator_02.py.patch, 914 bytes (added by , 19 years ago) |
---|
-
feedgenerator.py
158 158 handler.addQuickElement(u"description", item['description']) 159 159 160 160 # Author information. 161 if item['author_ email'] is not None and item['author_name'] is not None:162 handler.addQuickElement(u"author", u"%s (%s)" % \161 if item['author_name'] and item['author_email']: 162 handler.addQuickElement(u"author", "%s (%s)" % \ 163 163 (item['author_email'], item['author_name'])) 164 elif item['author_email']: 165 handler.addQuickElement(u"author", item['author_email']) 164 166 165 167 if item['pubdate'] is not None: 166 168 handler.addQuickElement(u"pubDate", rfc2822_date(item['pubdate']).decode('ascii'))