コード例 #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()