Revision 5ae4945a lib/mcpu.py
b/lib/mcpu.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2011 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2011, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
527 | 527 |
|
528 | 528 |
class HooksMaster(object): |
529 | 529 |
def __init__(self, opcode, hooks_path, nodes, hooks_execution_fn, |
530 |
hooks_results_adapt_fn, build_env_fn, log_fn, htype=None, cluster_name=None,
|
|
531 |
master_name=None): |
|
530 |
hooks_results_adapt_fn, build_env_fn, log_fn, htype=None,
|
|
531 |
cluster_name=None, master_name=None):
|
|
532 | 532 |
"""Base class for hooks masters. |
533 | 533 |
|
534 | 534 |
This class invokes the execution of hooks according to the behaviour |
Also available in: Unified diff