Move hook execution decision to HooksMaster
authorIustin Pop <iustin@google.com>
Thu, 11 Oct 2007 15:00:16 +0000 (15:00 +0000)
committerIustin Pop <iustin@google.com>
Thu, 11 Oct 2007 15:00:16 +0000 (15:00 +0000)
commit9a395a76da57bb4c62616c977415e2998f6f91f7
tree7114fe4a2b4c868fec3f2eae5489540754288357
parentf97a6b10ba5377b96771ee5c12de9709663b6fb5
Move hook execution decision to HooksMaster

Currently, the HooksMaster creation and execution decision is in the
Processor class. This is not optimal, so we change to always create a
hooks master and instead make the decision inside that class, by
creating empty node lists for both pre and post if the lu doesn't
support hooks. This way, hooks decisions are moved to HooksMaster (where
they belong).

Reviewed-by: imsnah
lib/mcpu.py