diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index 96d6af6..e43f793 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -78,10 +78,11 @@ def get_git_url_ssh(): pass return git_url_ssh + def get_preferred_readme(tree): """ Establish some order about which README gets displayed if there are several in the repository. If none of the listed - README files is availabe, display either the next file that + README files is availabe, display either the next file that starts with 'README' or nothing at all. """ order = ['README.md',