Exemple #1
0
 def __convert_comment(self, c, issue):
     return idli.IssueComment(issue, str(c[1]), "", str(c[4]), date=c[0])
Exemple #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="")
Exemple #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"]))
Exemple #4
0
 def __parse_comment(self, issue, cdict):
     return idli.IssueComment(issue, cdict["user"], "", cdict["body"],
                              self.__parse_date(cdict["created_at"]))