equal
deleted
inserted
replaced
1243 for style in styles: |
1243 for style in styles: |
1244 # only plain name is allowed to honor template paths |
1244 # only plain name is allowed to honor template paths |
1245 if (not style |
1245 if (not style |
1246 or style in (os.curdir, os.pardir) |
1246 or style in (os.curdir, os.pardir) |
1247 or pycompat.ossep in style |
1247 or pycompat.ossep in style |
1248 or os.altsep and os.altsep in style): |
1248 or pycompat.osaltsep and pycompat.osaltsep in style): |
1249 continue |
1249 continue |
1250 locations = [os.path.join(style, 'map'), 'map-' + style] |
1250 locations = [os.path.join(style, 'map'), 'map-' + style] |
1251 locations.append('map') |
1251 locations.append('map') |
1252 |
1252 |
1253 for path in paths: |
1253 for path in paths: |