[components] remove old deprecation warning
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 13 Oct 2010 15:59:35 +0200
changeset 6474 745b20ac1a68
parent 6473 2b09a410ff8e
child 6475 e58e08069c68
[components] remove old deprecation warning
web/views/basecomponents.py
--- a/web/views/basecomponents.py	Wed Oct 13 15:59:05 2010 +0200
+++ b/web/views/basecomponents.py	Wed Oct 13 15:59:35 2010 +0200
@@ -125,9 +125,9 @@
     def call(self):
         self.w(self._html % (self._cw._('login / password'),
                              self.loginboxid, self._cw._('i18n_login_popup')))
-        self.view('logform', rset=self.cw_rset, id=self.loginboxid,
-                  klass='%s hidden' % self.loginboxid, title=False, showmessage=False,
-                  w=self.w)
+        self._cw.view('logform', rset=self.cw_rset, id=self.loginboxid,
+                      klass='%s hidden' % self.loginboxid, title=False,
+                      showmessage=False, w=self.w)
 
 
 class HTTPLoginComponent(CookieLoginComponent):