templater: fix little problem from stylemap() changes
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 27 Apr 2009 16:26:31 +0200
changeset 8223 02145b700fe4
parent 8222 d30a21594812
child 8224 1075f5c1b3fa
templater: fix little problem from stylemap() changes
mercurial/templater.py
--- a/mercurial/templater.py	Mon Apr 27 12:37:19 2009 +0200
+++ b/mercurial/templater.py	Mon Apr 27 16:26:31 2009 +0200
@@ -196,7 +196,7 @@
     if paths is None:
         paths = templatepath()
     elif isinstance(paths, str):
-        paths = [templatepath]
+        paths = [paths]
 
     locations = style and [os.path.join(style, "map"), "map-" + style] or []
     locations.append("map")