Submitter | phabricator |
---|---|
Date | Aug. 5, 2020, 10:05 p.m. |
Message ID | <differential-rev-PHID-DREV-aitvy3v4iuwrh3hhtpcg-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46997/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -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)