server/hooksmanager.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Sep 2009 09:35:36 +0200
changeset 3383 c6aff16e5aed
parent 3090 8184bec7414d
child 3391 b6564d9ca872
permissions -rw-r--r--
nicer warnings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2835
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     1
from logilab.common.deprecation import class_renamed, class_moved
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     2
from cubicweb.server.hook import Hook
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     3
SystemHook = class_renamed('SystemHook', Hook)
2968
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     4
PropagateSubjectRelationHook = class_renamed('PropagateSubjectRelationHook', Hook)
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     5
PropagateSubjectRelationAddHook = class_renamed('PropagateSubjectRelationAddHook', Hook)
0e3460341023 somewhat painful backport of 3.5 branch, should mostly be ok
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2835 2918
diff changeset
     6
PropagateSubjectRelationDelHook = class_renamed('PropagateSubjectRelationDelHook', Hook)
2835
04034421b072 [hooks] major refactoring:
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 2822
diff changeset
     7
Hook = class_moved(Hook)
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     8