Show More
@@ -213,7 +213,7 b' class baseformatter(object):' | |||
|
213 | 213 | def write(self, fields, deftext, *fielddata, **opts): |
|
214 | 214 | '''do default text output while assigning data to item''' |
|
215 | 215 | fieldkeys = fields.split() |
|
216 | assert len(fieldkeys) == len(fielddata) | |
|
216 | assert len(fieldkeys) == len(fielddata), (fieldkeys, fielddata) | |
|
217 | 217 | self._item.update(zip(fieldkeys, fielddata)) |
|
218 | 218 | def condwrite(self, cond, fields, deftext, *fielddata, **opts): |
|
219 | 219 | '''do conditional write (primarily for plain formatter)''' |
General Comments 0
You need to be logged in to leave comments.
Login now