def _task_directory(self, job_id, task_id, task_attempt):
dir_name = '<STR_LIT>' if task_id is None else str(task_id)<EOL>if task_attempt:<EOL><INDENT>dir_name = '<STR_LIT>' % (dir_name, task_attempt)<EOL><DEDENT>return self._provider_root() + '<STR_LIT:/>' + job_id + '<STR_LIT:/>' + dir_name<EOL>
The local dir for staging files for that particular task.