diff mercurial/templater.py @ 8198:cf9accffd0b3

config: getsource -> source
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:43 -0500
parents 63c47e4ac617
children e61cb2813d2a
line wrap: on
line diff
--- a/mercurial/templater.py	Sun Apr 26 16:50:43 2009 -0500
+++ b/mercurial/templater.py	Sun Apr 26 16:50:43 2009 -0500
@@ -72,7 +72,7 @@
                     self.cache[key] = parsestring(val)
                 except SyntaxError, inst:
                     raise SyntaxError('%s: %s' %
-                                      (conf.getsource('', key), inst.args[0]))
+                                      (conf.source('', key), inst.args[0]))
             else:
                 self.map[key] = os.path.join(self.base, val)