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