##// END OF EJS Templates
formatter: remove now-unnecessary check for file-ness...
Martin von Zweigbergk -
r45820:653b2a43 default
parent child Browse files
Show More
@@ -584,7 +584,7 b' def lookuptemplate(ui, topic, tmpl):'
584 mapname = templater.templatepath(
584 mapname = templater.templatepath(
585 b'map-cmdline.' + tmpl
585 b'map-cmdline.' + tmpl
586 ) or templater.templatepath(tmpl)
586 ) or templater.templatepath(tmpl)
587 if mapname and os.path.isfile(mapname):
587 if mapname:
588 return templatespec(topic, None, mapname)
588 return templatespec(topic, None, mapname)
589
589
590 # perhaps it's a reference to [templates]
590 # perhaps it's a reference to [templates]
General Comments 0
You need to be logged in to leave comments. Login now