##// END OF EJS Templates
templater: drop redundant return in _flatten
Matt Mackall -
r17729:9a3cb3ce default
parent child Browse files
Show More
@@ -341,8 +341,6 b' class engine(object):'
341 341 '''Perform expansion. t is name of map element to expand.
342 342 mapping contains added elements for use during expansion. Is a
343 343 generator.'''
344 return _flatten(func(self, mapping, data) for func, data in
345 self._load(t))
346 344 return _flatten(runtemplate(self, mapping, self._load(t)))
347 345
348 346 engines = {'default': engine}
General Comments 0
You need to be logged in to leave comments. Login now