Show More
@@ -61,10 +61,10 b' def _get_repos_switcher_cached(cached_re' | |||||
61 | repos_lst = [] |
|
61 | repos_lst = [] | |
62 | for repo in [x for x in cached_repo_list.values()]: |
|
62 | for repo in [x for x in cached_repo_list.values()]: | |
63 | if HasRepoPermissionAny('repository.write', 'repository.read', |
|
63 | if HasRepoPermissionAny('repository.write', 'repository.read', | |
64 |
'repository.admin')(repo.name |
|
64 | 'repository.admin')(repo.name, 'main page check'): | |
65 | repos_lst.append((repo.name, repo.dbrepo.private,)) |
|
65 | repos_lst.append((repo.name, repo.dbrepo.private,)) | |
66 |
|
66 | |||
67 | return sorted(repos_lst, key=lambda k:k[0]) |
|
67 | return sorted(repos_lst, key=lambda k:k[0].lower()) | |
68 |
|
68 | |||
69 | @cache_region('long_term', 'full_changelog') |
|
69 | @cache_region('long_term', 'full_changelog') | |
70 | def _full_changelog_cached(repo_name): |
|
70 | def _full_changelog_cached(repo_name): |
General Comments 0
You need to be logged in to leave comments.
Login now