Ejemplo n.º 1
0
    def get_args(self):
        args = Worker.get_args(self)

        for input_file in self.input_files:
            args += input_file.get_args()

        return args
Ejemplo n.º 2
0
    def get_args(self):
        args = Worker.get_args(self)

        for input_file in self.input_files:
            args += input_file.get_args()

        return args
Ejemplo n.º 3
0
    def get_args(self):
        args = ['-replace']

        args += Worker.get_args(self)

        for output_file in self.output_files:
            args += output_file.get_args()

        for input_file in self.input_files:
            args += input_file.get_args(self.base_dir)

        return args
Ejemplo n.º 4
0
    def get_args(self):
        args = []
        args += Worker.get_args(self)

        for output_file in self.output_files:
            args += output_file.get_args()

        for input_file in self.input_files:
            args += input_file.get_args()
            self.inputs_size += os.stat(input_file.path).st_size

        return args
Ejemplo n.º 5
0
    def get_args(self):
        args = ['-replace']

        args += Worker.get_args(self)

        for output_file in self.output_files:
            args += output_file.get_args()

        for input_file in self.input_files:
            args += input_file.get_args(self.base_dir)

        return args
Ejemplo n.º 6
0
    def get_args(self):
        args = []
        args += Worker.get_args(self)

        for output_file in self.output_files:
            args += output_file.get_args()

        for input_file in self.input_files:
            args += input_file.get_args()
            self.inputs_size += os.stat(input_file.path).st_size

        return args