boulet...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Jul 2009 18:38:51 +0200
changeset 2497 07d20d5da4e3
parent 2496 fbd1fd2ca312
child 2498 5fb8aabb0448
boulet...
sobjects/hooks.py
--- a/sobjects/hooks.py	Fri Jul 24 18:26:31 2009 +0200
+++ b/sobjects/hooks.py	Fri Jul 24 18:38:51 2009 +0200
@@ -12,7 +12,7 @@
 from cubicweb.server.pool import PreCommitOperation
 
 
-class SetModificationDateOnStateChange(hooksmanager.Hook):
+class SetModificationDateOnStateChange(Hook):
     """update entity's modification date after changing its state"""
     events = ('after_add_relation',)
     accepts = ('in_state',)