changeset 8223:02145b700fe4

templater: fix little problem from stylemap() changes
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 27 Apr 2009 16:26:31 +0200
parents d30a21594812
children 1075f5c1b3fa
files mercurial/templater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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")