[startup] vreg api update
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 04 Aug 2009 18:47:11 +0200
changeset 2687 6220500bada7
parent 2686 c700ace6ebfd
child 2690 38a4e83c8160
[startup] vreg api update
web/views/startup.py
--- a/web/views/startup.py	Tue Aug 04 18:46:59 2009 +0200
+++ b/web/views/startup.py	Tue Aug 04 18:47:11 2009 +0200
@@ -76,7 +76,7 @@
 
     def folders(self):
         self.w(u'<h4>%s</h4>\n' % self.req._('Browse by category'))
-        self.vreg.select('views', 'tree', self.req).render(w=self.w)
+        self.vreg['views'].select('tree', self.req).render(w=self.w)
 
     def startup_views(self):
         self.w(u'<h4>%s</h4>\n' % self.req._('Startup views'))