[deprecation] kill remaining 3.6 warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 26 Jan 2011 12:21:47 +0100
branchstable
changeset 6897 858faaf699d9
parent 6896 784d5df35af1
child 6898 60cbb2b39ca9
[deprecation] kill remaining 3.6 warning
web/views/startup.py
--- a/web/views/startup.py	Wed Jan 26 11:39:21 2011 +0100
+++ b/web/views/startup.py	Wed Jan 26 12:21:47 2011 +0100
@@ -84,7 +84,7 @@
     def create_links(self):
         self.w(u'<ul class="createLink">')
         for etype in self.add_etype_links:
-            eschema = self.schema.eschema(etype)
+            eschema = self._cw.vreg.schema.eschema(etype)
             if eschema.has_perm(self._cw, 'add'):
                 self.w(u'<li><a href="%s">%s</a></li>' % (
                         self._cw.build_url('add/%s' % eschema),