web/views/xmlrss.py
changeset 2650 18aec79ec3a3
parent 2234 1fbcf202882d
child 2789 39712da6f397
child 3165 0a50ebe53db7
--- a/web/views/xmlrss.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/web/views/xmlrss.py	Mon Aug 03 10:50:57 2009 +0200
@@ -135,8 +135,8 @@
         except KeyError:
             self.error('missing RSS_LOGO external resource')
             return
-        urlgetter = self.vreg.select('components', 'rss_feed_url',
-                                     self.req, rset=self.rset)
+        urlgetter = self.vreg['components'].select('rss_feed_url', self.req,
+                                                   rset=self.rset)
         url = urlgetter.feed_url()
         self.w(u'<a href="%s"><img src="%s" alt="rss"/></a>\n' % (xml_escape(url), rss))