Show More
@@ -399,7 +399,8 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 |
|
|
|
402 | with open(tmpl) as f: | |
|
403 | tmpl = f.read() | |
|
403 | 404 | return tmpl, None |
|
404 | 405 | |
|
405 | 406 | # constant string? |
General Comments 0
You need to be logged in to leave comments.
Login now