Show More
@@ -399,7 +399,7 b' def lookuptemplate(ui, topic, tmpl):' | |||
|
399 | 399 | # is it a mapfile for a style? |
|
400 | 400 | if os.path.basename(tmpl).startswith("map-"): |
|
401 | 401 | return None, os.path.realpath(tmpl) |
|
402 |
with |
|
|
402 | with util.posixfile(tmpl, 'rb') as f: | |
|
403 | 403 | tmpl = f.read() |
|
404 | 404 | return tmpl, None |
|
405 | 405 |
General Comments 0
You need to be logged in to leave comments.
Login now