templater: fix check-code error
authorBryan O'Sullivan <bryano@fb.com>
Mon, 08 Apr 2013 15:04:17 -0700
changeset 18889 8c64c4af21a4
parent 18888 19d489404d79
child 18891 bd6aed2ad5ee
templater: fix check-code error
mercurial/templater.py
--- 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