web/uihelper.py
branchstable
changeset 9161 7b51daf84a66
parent 8667 5a394fc419b4
child 10065 8d4266411be5
--- a/web/uihelper.py	Thu Jul 11 18:43:29 2013 +0200
+++ b/web/uihelper.py	Thu Jul 11 10:15:25 2013 +0200
@@ -1,4 +1,4 @@
-# copyright 2011-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2011-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -66,8 +66,8 @@
 
 for funcname, tag in backward_compat_funcs:
     msg = ('[3.16] uihelper.%(name)s is deprecated, please use '
-           'web.uicfg.%(classname)s.%(name)s' % dict(
-               name=funcname, classname=tag.__class__.__name__))
+           'web.views.uicfg.%(rtagid)s.%(name)s' % dict(
+               name=funcname, rtagid=tag.__regid__))
     globals()[funcname] = deprecated(msg)(getattr(tag, funcname))