def __init__(self, new_process, echo, *args, **kwargs): Manager.__init__(self, *args, **kwargs) self.new_process = new_process self.echo = echo if new_process and echo: msg = ('Compmake does not yet support echoing stdout/stderr ' 'when jobs are run in a new process.') warning(msg)
def __init__(self, context, cq, num_processes, recurse=False, new_process=False, show_output=False): Manager.__init__(self, context=context, cq=cq, recurse=recurse) self.num_processes = num_processes self.last_accepted = 0 self.new_process = new_process self.show_output = show_output if new_process and show_output: msg = ('Compmake does not yet support echoing stdout/stderr ' 'when jobs are run in a new process.') warning(msg) self.cleaned = False
def __init__(self, context, cq, num_processes, recurse=False, show_output=False, new_process=False, volumes=[], rdb=False, rdb_vol=None, rdb_db=None): Manager.__init__(self, context=context, cq=cq, recurse=recurse) self.num_processes = num_processes self.last_accepted = 0 self.cleaned = False self.show_output = show_output self.new_process = new_process self.volumes = volumes self.rdb = rdb self.rdb_db = rdb_db self.rdb_vol = rdb_vol