Remove extra argument from HooksMaster class
authorIustin Pop <iustin@google.com>
Mon, 24 Aug 2009 11:56:19 +0000 (13:56 +0200)
committerIustin Pop <iustin@google.com>
Mon, 24 Aug 2009 12:11:41 +0000 (14:11 +0200)
commit4b5e82711fccb3b961d9fa86b36abcf67ea7e44e
tree9b261ab3de4fb91a98e47d96ddaae92e6f2eae24
parent4dce1a83e287961a0d84ee5d27b283a0f5748c20
Remove extra argument from HooksMaster class

The mcpu.py:HooksMaster class needs to have a proc attribute/argument to
init in ordet to call its LogWarning method. However, this is available
from the 'lu' attribute, so we can remove this dependency.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/mcpu.py
test/ganeti.hooks_unittest.py