Mercurial > kallithea
changeset 8601:1dbe842f32c4
repos: when scanning for repos in file system, process and report them alphabetically
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 25 Jul 2020 18:44:59 +0200 |
parents | 62469662c660 |
children | 3e9d079fcf91 |
files | kallithea/lib/utils.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/utils.py Mon Jul 20 20:13:32 2020 +0200 +++ b/kallithea/lib/utils.py Sat Jul 25 18:44:59 2020 +0200 @@ -466,7 +466,7 @@ enable_downloads = defs.get('repo_enable_downloads') private = defs.get('repo_private') - for name, repo in initial_repo_dict.items(): + for name, repo in sorted(initial_repo_dict.items()): group = map_groups(name) db_repo = repo_model.get_by_repo_name(name) # found repo that is on filesystem not in Kallithea database