equal
deleted
inserted
replaced
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)] |