From 6ef2dc74fe9cba25c252fa0fd9dc413569286dfb Mon Sep 17 00:00:00 2001
From: Luca Bigliardi <shammash@google.com>
Date: Tue, 25 Aug 2009 11:22:33 +0100
Subject: [PATCH] HooksMaster: document raised exception

HooksAbort is raised, but not documented.

Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/mcpu.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/mcpu.py b/lib/mcpu.py
index 72e9b03e4..5ee50fa62 100644
--- a/lib/mcpu.py
+++ b/lib/mcpu.py
@@ -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:
-- 
GitLab