git_issue/cli.py
def comment(service, **kwargs):
    """Comment on an existing issue."""
    issue = service.issue(kwargs.pop('number'))
    if kwargs['message']:
        body = kwargs.pop('message')
    else:
        body = '\n'.join(_editor_())
    if len(body.strip()) == 0:
        raise GitIssueError('aborted due to empty message')
    comment = issue.comment(body)
    _finish_('Commented on', '%s' % issue.number, comment.url())
Comment on an existing issue.
Comment on an existing issue.
Comment on an existing issue .
def comment(service, **kwargs):
    issue = service.issue(kwargs.pop('number'))
    if kwargs['message']:
        body = kwargs.pop('message')
    else:
        body = '\n'.join(_editor_())
    if len(body.strip()) == 0:
        raise GitIssueError('aborted due to empty message')
    comment = issue.comment(body)
    _finish_('Commented on', '%s' % issue.number, comment.url())
def comment ( service , ** kwargs ) : issue = service . issue ( kwargs . pop ( 'number' ) ) if kwargs [ 'message' ] : body = kwargs . pop ( 'message' ) else : body = '\n' . join ( _editor_ ( ) ) if len ( body . strip ( ) ) == 0 : raise GitIssueError ( 'aborted due to empty message' ) comment = issue . comment ( body ) _finish_ ( 'Commented on' , '%s' % issue . number , comment . url ( ) )
Comment on an existing issue.
Comment on an existing issue .
"""Comment on an existing issue."""
service