third_party/blink/tools/blinkpy/w3c/gerrit.py
def post_comment(self, message):
        """Posts a comment to the CL."""
        path = '/a/changes/{change_id}/revisions/current/review'.format(
            change_id=self.change_id, )
        try:
            return self.api.post(path, {'message': message})
        except HTTPError as e:
            raise GerritError(
                'Failed to post a comment to issue {} (code {}).'.format(
                    self.change_id, e.code))
Posts a comment to the CL.
Posts a comment to the CL.
Posts a comment to the CL .
def post_comment(self, message):
        path = '/a/changes/{change_id}/revisions/current/review'.format(
            change_id=self.change_id, )
        try:
            return self.api.post(path, {'message': message})
        except HTTPError as e:
            raise GerritError(
                'Failed to post a comment to issue {} (code {}).'.format(
                    self.change_id, e.code))
def post_comment ( self , message ) : path = '/a/changes/{change_id}/revisions/current/review' . format ( change_id = self . change_id , ) try : return self . api . post ( path , { 'message' : message } ) except HTTPError as e : raise GerritError ( 'Failed to post a comment to issue {} (code {}).' . format ( self . change_id , e . code ) )
Posts a comment to the CL.
Posts a comment to the CL .
"""Posts a comment to the CL."""
self
message