def list_repos(remote=False):
mgr = plugins_get_mgr()<EOL>if not remote:<EOL><INDENT>repomgr = mgr.get(what='<STR_LIT>', name='<STR_LIT>')<EOL>repos = repomgr.get_repo_list()<EOL>repos.sort()<EOL>return repos<EOL><DEDENT>else:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>
List repos

Parameters
----------

remote: Flag