changeset 45942 | 89a2afe31e82 |
parent 45682 | d2e1dcd4490d |
child 46819 | d4ba4d51f85f |
--- a/mercurial/hgweb/hgweb_mod.py Fri Nov 27 17:00:00 2020 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Fri Nov 27 17:03:29 2020 -0500 @@ -86,12 +86,12 @@ def makebreadcrumb(url, prefix=b''): - '''Return a 'URL breadcrumb' list + """Return a 'URL breadcrumb' list A 'URL breadcrumb' is a list of URL-name pairs, corresponding to each of the path items on a URL. This can be used to create path navigation entries. - ''' + """ if url.endswith(b'/'): url = url[:-1] if prefix: