Mercurial > hg
diff mercurial/templater.py @ 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 | d72d1a97408a |
children | 2484868cffde |
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)