##// END OF EJS Templates
templater: stop accepting a single style to stylemap()...
Martin von Zweigbergk -
r45823:b7444cfc default
parent child Browse files
Show More
@@ -1089,9 +1089,6 b' def stylemap(styles, path=None):'
1089 if path is None:
1089 if path is None:
1090 path = templatedir()
1090 path = templatedir()
1091
1091
1092 if isinstance(styles, bytes):
1093 styles = [styles]
1094
1095 if path is not None:
1092 if path is not None:
1096 for style in styles:
1093 for style in styles:
1097 # only plain name is allowed to honor template paths
1094 # only plain name is allowed to honor template paths
General Comments 0
You need to be logged in to leave comments. Login now