scraper/gitlab/__init__.py
def query_repos(gl_session, repos=None):
    """
    Yields Gitlab project objects for all projects in Bitbucket
    """

    if repos is None:
        repos = []

    for repo in repos:
        yield gl_session.projects.get(repo)

    if not repos:
        for project in gl_session.projects.list(as_list=False):
            yield project
def query_repos(gl_session, repos=None):
    if repos is None:
        repos = []

    for repo in repos:
        yield gl_session.projects.get(repo)

    if not repos:
        for project in gl_session.projects.list(as_list=False):
            yield project
def query_repos ( gl_session , repos = None ) : if repos is None : repos = [ ] for repo in repos : yield gl_session . projects . get ( repo ) if not repos : for project in gl_session . projects . list ( as_list = False ) : yield project
Yields Gitlab project objects for all projects in Bitbucket
Yields Gitlab project objects for all projects in Bitbucket