templater: fix variable name stable
authorWagner Bruna <wbruna@softwareexpress.com.br>
Thu, 18 Nov 2010 19:52:58 -0200
branchstable
changeset 13020 ea3bada953d3
parent 13017 d0e21c5fde41
child 13021 6c800e7ef2f6
templater: fix variable name 'format' was renamed to 'parsed' in 0d50586a9d31
mercurial/templater.py
--- a/mercurial/templater.py	Thu Nov 18 23:05:10 2010 +0100
+++ b/mercurial/templater.py	Thu Nov 18 19:52:58 2010 -0200
@@ -98,7 +98,7 @@
         v = self._get(mapping, key)
         if not hasattr(v, '__iter__'):
             raise SyntaxError(_("error expanding '%s%%%s'")
-                              % (key, format))
+                              % (key, parsed))
         lm = mapping.copy()
         for i in v:
             if isinstance(i, dict):