equal
deleted
inserted
replaced
77 or pycompat.ossep in style |
77 or pycompat.ossep in style |
78 or pycompat.osaltsep |
78 or pycompat.osaltsep |
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) |
87 if os.path.isfile(mapfile): |
86 if os.path.isfile(mapfile): |
88 return style, mapfile |
87 return style, mapfile |