def create_pending_after_task(self):
for task in self.settings.tasks[self.after_tasks_key]:<EOL><INDENT>self.after_tasks.append(task)<EOL>self.after_results[task] = Result(task)<EOL><DEDENT>
Creates pending task results in a dict on self.after_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.