view.py
changeset 8666 1dd655788ece
parent 8425 b86bdc343c18
child 8941 7b26fe71404f
--- a/view.py	Thu Jan 10 18:34:10 2013 +0100
+++ b/view.py	Mon Jan 21 16:34:09 2013 +0100
@@ -26,7 +26,7 @@
 from functools import partial
 
 from logilab.common.deprecation import deprecated
-from logilab.common.registry import classid, yes
+from logilab.common.registry import yes
 from logilab.mtconverter import xml_escape
 
 from rql import nodes
@@ -608,7 +608,7 @@
             if hasattr(entity, func.__name__):
                 warn('[3.9] %s method is deprecated, define it on a custom '
                      '%s for %s instead' % (func.__name__, iface,
-                                            classid(entity.__class__)),
+                                            entity.__class__),
                      DeprecationWarning)
                 member = getattr(entity, func.__name__)
                 if callable(member):