示例#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()