changeset 18889:8c64c4af21a4

templater: fix check-code error
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 08 Apr 2013 15:04:17 -0700
parents 19d489404d79
children bd6aed2ad5ee
files mercurial/templater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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