remove 3.6 deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Feb 2010 11:25:12 +0100
branchstable
changeset 4604 96cc3d296d75
parent 4603 ce19b0a05db3
child 4605 7f884ee28519
remove 3.6 deprecation warning
web/views/basetemplates.py
--- a/web/views/basetemplates.py	Wed Feb 17 09:13:49 2010 +0100
+++ b/web/views/basetemplates.py	Wed Feb 17 11:25:12 2010 +0100
@@ -399,7 +399,7 @@
         if state[0] == 'normal':
             return
         _ = self._cw._
-        value = self.view('oneline', self._cw.eid_rset(state[1][1]))
+        value = self._cw.view('oneline', self._cw.eid_rset(state[1][1]))
         msg = ' '.join((_("searching for"),
                         display_name(self._cw, state[1][3]),
                         _("to associate with"), value,