Commits

Bryan O'Sullivan committed 8c64c4a

templater: fix check-code error

Comments (0)

Files changed (1)

mercurial/templater.py

                 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