Commits

Anonymous committed dc4b7b0

fixed some minor bugs in the atom feed generator.

  • Participants
  • Parent commits 8727dd2

Comments (0)

Files changed (2)

 - the multipart parser works better with hand-crafted multipart
   requests now that have extra newlines added.  This fixes a bug
   with setuptools uploades not handled properly (#390)
+- fixed some minor bugs in the atom feed generator.
 
 
 Version 0.5

werkzeug/contrib/atom.py

                 escape(self.feed_url, True)
         for link in self.links:
             yield u'  <link %s/>\n' % ''.join('%s="%s" ' % \
-                [(k, escape(link[k], True)) for k in link])
+                (k, escape(link[k], True)) for k in link)
         for author in self.author:
             yield u'  <author>\n'
             yield u'    <name>%s</name>\n' % escape(author['name'])
             yield u'  </author>\n'
         for link in self.links:
             yield u'  <link %s/>\n' % ''.join('%s="%s" ' % \
-                [(k, escape(link[k], True)) for k in link])
+                (k, escape(link[k], True)) for k in link)
         if self.summary:
             yield u'  ' + _make_text_block('summary', self.summary,
                                            self.summary_type)