mercurial/templater.py
changeset 26564 bed9e6c706f6
parent 26504 875e5d89dc86
parent 26535 d3712209921d
child 26587 56b2bcea2529
--- a/mercurial/templater.py	Thu Oct 01 23:13:57 2015 -0700
+++ b/mercurial/templater.py	Thu Oct 08 17:44:22 2015 -0500
@@ -237,8 +237,6 @@
             v = ''
     if callable(v):
         return v(**mapping)
-    if isinstance(v, types.GeneratorType):
-        v = list(v)
     return v
 
 def buildtemplate(exp, context):