changeset 45315 | 2901133ec982 |
parent 45314 | d12fba074cc6 |
child 45316 | 1b983985edd9 |
--- a/mercurial/hgweb/hgweb_mod.py Wed Aug 05 13:33:07 2020 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Wed Aug 05 13:58:30 2020 -0700 @@ -79,8 +79,7 @@ and pycompat.osaltsep in style ): continue - locations = [os.path.join(style, b'map'), b'map-' + style] - locations.append(b'map') + locations = (os.path.join(style, b'map'), b'map-' + style, b'map') for location in locations: mapfile = os.path.join(path, location)