# HG changeset patch # User Noe Gaumont # Date 1558517648 -7200 # Node ID 24b9073a661776e6636e4d23621c251c8dfb097c # Parent 4e7ff3dd79fdd120da763279e54a24e2c71f73c4 [doc] fix key used in the hook example The hook's regid is check_no_subsidiary_cycle. diff -r 4e7ff3dd79fd -r 24b9073a6617 doc/book/devrepo/repo/hooks.rst --- a/doc/book/devrepo/repo/hooks.rst Wed May 22 11:32:09 2019 +0200 +++ b/doc/book/devrepo/repo/hooks.rst Wed May 22 11:34:08 2019 +0200 @@ -153,7 +153,7 @@ Here, we call :func:`add_data` so that we will simply accumulate eids of entities to check at the end in a single `CheckSubsidiaryCycleOp` operation. Values are stored in a set associated to the -'subsidiary_cycle_detection' transaction data key. The set initialization and +'check_no_subsidiary_cycle' transaction data key. The set initialization and operation creation are handled nicely by :func:`add_data`. A more realistic example can be found in the advanced tutorial chapter