third_party/blink/tools/blinkpy/w3c/gerrit.py
def query_cl(self, change_id, query_options=QUERY_OPTIONS):
        """Queries a commit information from Gerrit."""
        path = '/changes/chromium%2Fsrc~main~{}?{}'.format(
            change_id, query_options)
        try:
            cl_data = self.get(path, return_none_on_404=True)
        except NetworkTimeout:
            raise GerritError('Timed out querying CL using Change-Id')

        if not cl_data:
            raise GerritError('Cannot find Change-Id')

        cl = GerritCL(data=cl_data, api=self)
        return cl
Queries a commit information from Gerrit.
Queries a commit information from Gerrit.
Queries a commit information from Gerrit .
def query_cl(self, change_id, query_options=QUERY_OPTIONS):
        path = '/changes/chromium%2Fsrc~main~{}?{}'.format(
            change_id, query_options)
        try:
            cl_data = self.get(path, return_none_on_404=True)
        except NetworkTimeout:
            raise GerritError('Timed out querying CL using Change-Id')
        if not cl_data:
            raise GerritError('Cannot find Change-Id')
        cl = GerritCL(data=cl_data, api=self)
        return cl
def query_cl ( self , change_id , query_options = QUERY_OPTIONS ) : path = '/changes/chromium%2Fsrc~main~{}?{}' . format ( change_id , query_options ) try : cl_data = self . get ( path , return_none_on_404 = True ) except NetworkTimeout : raise GerritError ( 'Timed out querying CL using Change-Id' ) if not cl_data : raise GerritError ( 'Cannot find Change-Id' ) cl = GerritCL ( data = cl_data , api = self ) return cl
Queries a commit information from Gerrit.
Queries a commit information from Gerrit .
"""Queries a commit information from Gerrit."""
self
change_id
query_options