HooksMaster: Make RunPhase return the rpc output
authorGuido Trotter <ultrotter@google.com>
Wed, 30 Apr 2008 09:29:39 +0000 (09:29 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 30 Apr 2008 09:29:39 +0000 (09:29 +0000)
commitb07a692207d48182a8396fd89746c116a952c13c
treee58f768b749a7866538f67e74f6e3849a3d365d1
parent10cd4a294eef4fae49d8321465261629a20650e2
HooksMaster: Make RunPhase return the rpc output

Right now the hooks output is propagated from the nodes all the way up to
HooksMaster.RunPhase, which uses it for debugging PRE hooks, but then silently
discards them. We'll now propagate it up to the Processor.ExecOpCode function,
where they can be handled for other purposes (or discarded again, of course).
This patch also improves a bit the HooksMaster.RunPhase docstring.

Reviewed-by: iustinp
lib/mcpu.py