예제 #1
0
파일: trac.py 프로젝트: Lertsenem/Idli
 def __convert_comment(self, c, issue):
     return idli.IssueComment(issue, str(c[1]), "", str(c[4]), date=c[0])
예제 #2
0
 def __parse_comment(self, issue, journal):
     return idli.IssueComment(issue=issue, creator=journal['user']['name'], body=journal['notes'], date=self.__parse_date(journal['created_on']), title="")
예제 #3
0
 def __parse_comment(self, issue, cdict):
     return idli.IssueComment(issue, cdict["author_info"]["username"], "",
                              cdict["content"],
                              self.__parse_date(cdict["utc_created_on"]))
예제 #4
0
 def __parse_comment(self, issue, cdict):
     return idli.IssueComment(issue, cdict["user"], "", cdict["body"],
                              self.__parse_date(cdict["created_at"]))