diff mercurial/templater.py @ 18889:8c64c4af21a4

templater: fix check-code error
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 08 Apr 2013 15:04:17 -0700
parents 0615b22da148
children 74ea61318ea8
line wrap: on
line diff
--- 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