HooksMaster: document raised exception
authorLuca Bigliardi <shammash@google.com>
Tue, 25 Aug 2009 10:22:33 +0000 (11:22 +0100)
committerLuca Bigliardi <shammash@google.com>
Tue, 25 Aug 2009 10:38:25 +0000 (11:38 +0100)
HooksAbort is raised, but not documented.

Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/mcpu.py

index 72e9b03..5ee50fa 100644 (file)
@@ -343,6 +343,7 @@ class HooksMaster(object):
     @param nodes: overrides the predefined list of nodes for the given phase
     @return: the processed results of the hooks multi-node rpc call
     @raise errors.HooksFailure: on communication failure to the nodes
+    @raise errors.HooksAbort: on failure of one of the hooks
 
     """
     if not self.node_list[phase] and not nodes: