예제 #1
0
파일: changes.py 프로젝트: sjl421/pycr
def accounts_query():
    """Return an URL to Gerrit

    :rtype: str
    """

    return '{}/accounts/'.format(RequestFactory.get_remote_base_url())
예제 #2
0
파일: changes.py 프로젝트: sjl421/pycr
def base_query():
    """Return an URL to Gerrit

    :rtype: str
    """

    return '{}/changes/'.format(RequestFactory.get_remote_base_url())
예제 #3
0
파일: gerrit.py 프로젝트: enzbang/pycr
    def changes_query():
        """
        Return an URL to the Gerrit Code Review server.

        RETURNS
            the URL as a string
        """

        return '%s/changes/' % RequestFactory.get_remote_base_url()