comparison mercurial/templater.py @ 7434:cf7741aa1e96

kill some trailing spaces
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 27 Nov 2008 16:07:13 +0100
parents 526c40a74bd0
children aa983c3d94a9
comparison
equal deleted inserted replaced
7433:c4ce828e8074 7434:cf7741aa1e96
135 stream = self.expand(t, **map) 135 stream = self.expand(t, **map)
136 if self.minchunk: 136 if self.minchunk:
137 stream = util.increasingchunks(stream, min=self.minchunk, 137 stream = util.increasingchunks(stream, min=self.minchunk,
138 max=self.maxchunk) 138 max=self.maxchunk)
139 return stream 139 return stream
140 140
141 def expand(self, t, **map): 141 def expand(self, t, **map):
142 '''Perform expansion. t is name of map element to expand. map contains 142 '''Perform expansion. t is name of map element to expand. map contains
143 added elements for use during expansion. Is a generator.''' 143 added elements for use during expansion. Is a generator.'''
144 tmpl = self._template(t) 144 tmpl = self._template(t)
145 iters = [self._process(tmpl, map)] 145 iters = [self._process(tmpl, map)]