Commits

Anonymous committed 1463a2a

Set default version for ``RssFeed`` base class to "?".

  • Participants
  • Parent commits 66be514

Comments (0)

Files changed (2)

 tip (development version)
 -------------------------
 
+* webhelpers.feedgenerator:
+
+ - Allow ``RssFeed`` base class to be instantiated. However, it sets the RSS
+   version attribute to "?", which is probably invalid.
+
 * webhelpers.html.grid  / webhelpers.pylonslib.grid:
 
  - A new ``ListGrid`` class to turn a list of lists into a table.

File webhelpers/feedgenerator.py

 
 class RssFeed(SyndicationFeed):
     mime_type = 'application/rss+xml'
+    _version = u"?"
     def write(self, outfile, encoding):
         handler = SimplerXMLGenerator(outfile, encoding)
         handler.startDocument()