def get_dates_for_project(self, project):
file_re = re.compile(r'<STR_LIT>' % project)<EOL>all_dates = []<EOL>for f in os.listdir(self.cache_path):<EOL><INDENT>if not os.path.isfile(os.path.join(self.cache_path, f)):<EOL><INDENT>continue<EOL><DEDENT>m = file_re.match(f)<EOL>if m is None:<EOL><INDENT>continue<EOL><DEDENT>all_dates.append(datetime.strptime(m.group(<NUM_LIT:1>), '<STR_LIT>'))<EOL><DEDENT>return sorted(all_dates)<EOL>
Return a list of the dates we have in cache for the specified project,
sorted in ascending date order.

:param project: project name
:type project: str
:return: list of datetime.datetime objects
:rtype: datetime.datetime