follow renaming tls-sprint
authorsylvain.thenault@logilab.fr
Mon, 04 May 2009 15:49:20 +0200
branchtls-sprint
changeset 1653 8b82227719f0
parent 1652 ba0a6b4d04f7
child 1654 57b9fd2462b8
follow renaming
web/views/baseviews.py
web/views/xbel.py
--- a/web/views/baseviews.py	Mon May 04 15:48:43 2009 +0200
+++ b/web/views/baseviews.py	Mon May 04 15:49:20 2009 +0200
@@ -374,9 +374,9 @@
 from cubicweb.web.views import boxes, xmlrss, primary
 PrimaryView = class_moved(primary.PrimaryView)
 SideBoxView = class_moved(boxes.SideBoxView)
-XmlView = class_moved(xmlrss.XmlView)
-XmlItemView = class_moved(xmlrss.XmlItemView)
-XmlRsetView = class_moved(xmlrss.XmlRsetView)
-RssView = class_moved(xmlrss.RssView)
-RssItemView = class_moved(xmlrss.RssItemView)
+XmlView = class_moved(xmlrss.XMLView)
+XmlItemView = class_moved(xmlrss.XMLItemView)
+XmlRsetView = class_moved(xmlrss.XMLRsetView)
+RssView = class_moved(xmlrss.RSSView)
+RssItemView = class_moved(xmlrss.RSSItemView)
 
--- a/web/views/xbel.py	Mon May 04 15:48:43 2009 +0200
+++ b/web/views/xbel.py	Mon May 04 15:49:20 2009 +0200
@@ -11,18 +11,18 @@
 
 from cubicweb.selectors import implements
 from cubicweb.view import EntityView
-from cubicweb.web.views.xmlrss import XmlView
+from cubicweb.web.views.xmlrss import XMLView
 
 
-class XbelView(XmlView):
+class XbelView(XMLView):
     id = 'xbel'
     title = _('xbel')
     templatable = False
-    content_type = 'text/xml' #application/xbel+xml 
-    
+    content_type = 'text/xml' #application/xbel+xml
+
     def cell_call(self, row, col):
         self.wview('xbelitem', self.rset, row=row, col=col)
-        
+
     def call(self):
         """display a list of entities by calling their <item_vid> view"""
         title = self.page_title()
@@ -34,7 +34,7 @@
         for i in xrange(self.rset.rowcount):
             self.cell_call(i, 0)
         self.w(u"</xbel>")
-    
+
 
 class XbelItemView(EntityView):
     id = 'xbelitem'
@@ -48,10 +48,10 @@
     def url(self, entity):
         return entity.absolute_url()
 
-        
+
 class XbelItemBookmarkView(XbelItemView):
     __select__ = implements('Bookmark')
 
     def url(self, entity):
         return entity.actual_url()
-        
+