[doc] fix data hooks parent class in Hooks doc.
--- a/doc/book/en/devrepo/repo/hooks.rst Fri Nov 04 13:00:33 2011 +0100
+++ b/doc/book/en/devrepo/repo/hooks.rst Fri Nov 04 17:29:39 2011 +0100
@@ -110,7 +110,7 @@
parents.add(parent.eid)
- class CheckSubsidiaryCycleOp(DataOperationMixIn, Operation):
+ class CheckSubsidiaryCycleOp(Operation):
def precommit_event(self):
check_cycle(self.session, self.eidto, 'subsidiary_of')
@@ -145,7 +145,7 @@
def __call__(self):
CheckSubsidiaryCycleOp.get_instance(self._cw).add_data(self.eidto)
- class CheckSubsidiaryCycleOp(Operation):
+ class CheckSubsidiaryCycleOp(DataOperationMixIn, Operation):
def precommit_event(self):
for eid in self.get_data():