mercurial/templater.py
branchstable
changeset 26535 d3712209921d
parent 26502 4ca98a389152
child 26564 bed9e6c706f6
--- a/mercurial/templater.py	Mon Oct 05 10:43:16 2015 -0600
+++ b/mercurial/templater.py	Thu Oct 08 23:24:38 2015 +0900
@@ -227,8 +227,6 @@
             v = ''
     if callable(v):
         return v(**mapping)
-    if isinstance(v, types.GeneratorType):
-        v = list(v)
     return v
 
 def buildtemplate(exp, context):