--- a/server/hook.py Thu Jan 10 18:34:10 2013 +0100
+++ b/server/hook.py Mon Jan 21 16:34:09 2013 +0100
@@ -258,7 +258,7 @@
from logilab.common.deprecation import deprecated, class_renamed
from logilab.common.logging_ext import set_log_methods
from logilab.common.registry import (Predicate, NotPredicate, OrPredicate,
- classid, objectify_predicate, yes)
+ objectify_predicate, yes)
from cubicweb import RegistryNotFound, server
from cubicweb.cwvreg import CWRegistry, CWRegistryStore
@@ -768,7 +768,7 @@
"""delegate event handling to the opertaion"""
if event == 'postcommit_event' and hasattr(self, 'commit_event'):
warn('[3.10] %s: commit_event method has been replaced by postcommit_event'
- % classid(self.__class__), DeprecationWarning)
+ % self.__class__, DeprecationWarning)
self.commit_event() # pylint: disable=E1101
getattr(self, event)()