changeset 8517:110763cc3ab0

templater: lowercase error message Changing this messages should be safe: automated scripts ought to have debugged their templates and wont grep for this error message.
author Martin Geisler <mg@lazybytes.net>
date Sun, 17 May 2009 16:25:48 +0200
parents 8e2c0ab94432
children 3f4f14eab085
files mercurial/templater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templater.py	Tue May 19 09:57:06 2009 +0200
+++ b/mercurial/templater.py	Sun May 17 16:25:48 2009 +0200
@@ -74,7 +74,7 @@
         key, format = expr.split('%')
         v = get(key)
         if not hasattr(v, '__iter__'):
-            raise SyntaxError(_("Error expanding '%s%%%s'") % (key, format))
+            raise SyntaxError(_("error expanding '%s%%%s'") % (key, format))
         lm = map.copy()
         for i in v:
             lm.update(i)