ForgeImporters/forgeimporters/google/__init__.py
def split_project_name(project_name):
    '''
    For hosted projects, the project_name includes the hosted domain.  Split, like:

    :param str project_name: "a/eclipselabs.org/p/restclient-tool"
    :return: ``("/a/eclipselabs.org", "restclient-tool")``
    '''
    if project_name.startswith('a/'):
        hosted_domain_prefix = '/a/' + project_name.split('/')[1]
        project_name = project_name.split('/')[3]
    else:
        hosted_domain_prefix = ''
        project_name = project_name
    return hosted_domain_prefix, project_name

    For hosted projects, the project_name includes the hosted domain.  Split, like:

    :param str project_name: "a/eclipselabs.org/p/restclient-tool"
    :return: ``("/a/eclipselabs.org", "restclient-tool")``
    
For hosted projects, the project_name includes the hosted domain.  Split, like.
For hosted projects the project_name includes the hosted domain . Split like .
def split_project_name(project_name):
    if project_name.startswith('a/'):
        hosted_domain_prefix = '/a/' + project_name.split('/')[1]
        project_name = project_name.split('/')[3]
    else:
        hosted_domain_prefix = ''
        project_name = project_name
    return hosted_domain_prefix, project_name
def split_project_name ( project_name ) : if project_name . startswith ( 'a/' ) : hosted_domain_prefix = '/a/' + project_name . split ( '/' ) [ 1 ] project_name = project_name . split ( '/' ) [ 3 ] else : hosted_domain_prefix = '' project_name = project_name return hosted_domain_prefix , project_name
For hosted projects, the project_name includes the hosted domain.
For hosted projects the project_name includes the hosted domain .
'''
    For hosted projects, the project_name includes the hosted domain.  Split, like:

    :param str project_name: "a/eclipselabs.org/p/restclient-tool"
    :return: ``("/a/eclipselabs.org", "restclient-tool")``
    '''
None
project_name
None