changeset 17729:9a3cb3ce011e

templater: drop redundant return in _flatten
author Matt Mackall <mpm@selenic.com>
date Mon, 08 Oct 2012 16:21:24 -0500
parents 004bd533880d
children 6c6987761e42
files mercurial/templater.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templater.py	Tue Oct 09 01:41:55 2012 +0900
+++ b/mercurial/templater.py	Mon Oct 08 16:21:24 2012 -0500
@@ -341,8 +341,6 @@
         '''Perform expansion. t is name of map element to expand.
         mapping contains added elements for use during expansion. Is a
         generator.'''
-        return _flatten(func(self, mapping, data) for func, data in
-                         self._load(t))
         return _flatten(runtemplate(self, mapping, self._load(t)))
 
 engines = {'default': engine}