web/views/xmlrss.py
changeset 4045 f4a52abb6f4f
parent 4023 eae23c40627a
child 4252 6c4f109c2b03
--- a/web/views/xmlrss.py	Tue Dec 08 16:46:56 2009 +0100
+++ b/web/views/xmlrss.py	Tue Dec 08 16:50:36 2009 +0100
@@ -76,7 +76,7 @@
     def call(self):
         w = self.w
         rset, descr = self.cw_rset, self.cw_rset.description
-        eschema = self._cw.schema.eschema
+        eschema = self._cw.vreg.schema.eschema
         labels = self.columns_labels(tr=False)
         w(u'<?xml version="1.0" encoding="%s"?>\n' % self._cw.encoding)
         w(u'<%s query="%s">\n' % (self.xml_root, xml_escape(rset.printable_rql())))