Beispiel #1
0
 def __replace_in_commands(self, file, line=''):
     sub_task = SubTask(self)
     for command in self.__commands:
         # replace placeholder with actual created file
         sub_task.add_command(command.replace('$file', file).replace('$line', line))
     return sub_task