##// END OF EJS Templates
hgweb: simplify a constant-length list by converting to literal tuple...
Martin von Zweigbergk -
r45875:2901133e default
parent child Browse files
Show More
@@ -79,8 +79,7 b' def _stylemap(styles, path=None):'
79 and pycompat.osaltsep in style
79 and pycompat.osaltsep in style
80 ):
80 ):
81 continue
81 continue
82 locations = [os.path.join(style, b'map'), b'map-' + style]
82 locations = (os.path.join(style, b'map'), b'map-' + style, b'map')
83 locations.append(b'map')
84
83
85 for location in locations:
84 for location in locations:
86 mapfile = os.path.join(path, location)
85 mapfile = os.path.join(path, location)
General Comments 0
You need to be logged in to leave comments. Login now