def handle_issue_comment(self, issue, title, body, **kwargs):
        """Decides whether to comment or create a new issue when trying to comment.

        :param issue: issue on which the comment is to be added
        :param title: title of the issue if new one is to be created
        :param body: body of the issue/comment to be created
        :returns: newly created issue or the one on which comment was created
        :rtype: :class:`exreporter.stores.github.GithubIssue`

        """
        if self._is_time_delta_valid(issue.updated_time_delta):
            if issue.comments_count < self.max_comments:
                issue.comment(body=body)
                return issue
            else:
                return self.create_issue(title=title, body=body, **kwargs)
def handle_issue_comment ( self , issue , title , body , ** kwargs ) : if self . _is_time_delta_valid ( issue . updated_time_delta ) : if issue . comments_count < self . max_comments : issue . comment ( body = body ) return issue else : return self . create_issue ( title = title , body = body , ** kwargs )
Decides whether to comment or create a new issue when trying to comment.

        :param issue: issue on which the comment is to be added
        :param title: title of the issue if new one is to be created
        :param body: body of the issue/comment to be created
        :returns: newly created issue or the one on which comment was created
        :rtype: :class:`exreporter.stores.github.GithubIssue`