def __init__(self, opcode, hooks_path, nodes, hooks_execution_fn,
               hooks_results_adapt_fn, build_env_fn, prepare_post_nodes_fn,
               log_fn, htype=None, cluster_name=None, master_name=None,
               master_uuid=None, job_id=None):
    self.opcode = opcode
    self.hooks_path = hooks_path
    self.hooks_execution_fn = hooks_execution_fn
    self.hooks_results_adapt_fn = hooks_results_adapt_fn
    self.build_env_fn = build_env_fn
    self.prepare_post_nodes_fn = prepare_post_nodes_fn
    self.log_fn = log_fn
    self.htype = htype
    self.cluster_name = cluster_name
    self.master_name = master_name
    self.master_uuid = master_uuid
    self.job_id = job_id

    self.pre_env = self._BuildEnv(constants.HOOKS_PHASE_PRE)
    (self.pre_nodes, self.post_nodes) = nodes
Accept a language set to None.
dataset/ETHPy150Open ganeti/ganeti/lib/hooksmaster.py/HooksMaster.__init__--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/formats/pofile.py/POTHandler.set_language