def create_pending_tasks(self):
for task in self.settings.tasks['<STR_LIT>']:<EOL><INDENT>self.setup_tasks.append(task)<EOL>self.setup_results[task] = Result(task)<EOL><DEDENT>if self.preset:<EOL><INDENT>for task in self.preset['<STR_LIT>']:<EOL><INDENT>self.tasks.append(task)<EOL>self.results[task] = Result(task)<EOL><DEDENT><DEDENT>for task in self.settings.preview['<STR_LIT>']:<EOL><INDENT>self.tasks.append(task)<EOL>self.results[task] = Result(task)<EOL><DEDENT>if self.preset:<EOL><INDENT>self.tasks.append(self.preset['<STR_LIT>'])<EOL>self.results[self.preset['<STR_LIT>']] = Result(self.preset['<STR_LIT>'])<EOL><DEDENT>
Creates pending task results in a dict on self.result with task string as key. It will also
create a list on self.tasks that is used to make sure the serialization of the results
creates a correctly ordered list.