215 """ |
215 """ |
216 counters = stats.counters.get(identifier, {}) |
216 counters = stats.counters.get(identifier, {}) |
217 v = [] |
217 v = [] |
218 for key in ('start', 'end', 'lines', 'nloc', 'comments', 'empty'): |
218 for key in ('start', 'end', 'lines', 'nloc', 'comments', 'empty'): |
219 if counters.get(key, 0): |
219 if counters.get(key, 0): |
220 v.append(counters[key]) |
220 v.append(loc.toString(counters[key])) |
221 else: |
221 else: |
222 v.append('') |
222 v.append('') |
223 return v |
223 return v |
224 |
224 |
225 def __finish(self): |
225 def __finish(self): |