--- a/mercurial/templater.py Tue Mar 26 02:28:10 2013 +0900 +++ b/mercurial/templater.py Mon Apr 08 15:04:17 2013 -0700 @@ -67,7 +67,7 @@ pos += 1 sym = program[s:pos] try: - yield('string', str(int(sym)), s) + yield ('string', str(int(sym)), s) except ValueError: yield ('symbol', sym, s) pos -= 1