author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 02 Sep 2009 10:54:04 +0200 | |
changeset 3087 | dbbaa628f0f9 |
parent 3086 | 94ed8f0f0d14 |
child 3090 | 8184bec7414d |
server/hook.py | file | annotate | diff | comparison | revisions |
--- a/server/hook.py Wed Sep 02 10:53:51 2009 +0200 +++ b/server/hook.py Wed Sep 02 10:54:04 2009 +0200 @@ -165,7 +165,8 @@ def __call__(self): if hasattr(self, 'call'): - warn('[3.6] %s: call is deprecated, implements __call__' % self.__class__) + warn('[3.6] %s: call is deprecated, implements __call__' % self.__class__, + DeprecationWarning)) if self.event.endswith('_relation'): self.call(self._cw, self.eidfrom, self.rtype, self.eidto) elif 'delete' in self.event: