(bundle, title:str, key:str, formatter=None)
| 591 | } |
| 592 | |
| 593 | def append_field(bundle, title:str, key:str, formatter=None): |
| 594 | field = info[key] |
| 595 | if field is not None: |
| 596 | formatted_field = self._mime_format(field, formatter) |
| 597 | bundle['text/plain'].append((title, formatted_field['text/plain'])) |
| 598 | bundle['text/html'] += '<h1>' + title + '</h1>\n' + formatted_field['text/html'] + '\n' |
| 599 | |
| 600 | def code_formatter(text): |
| 601 | return { |
nothing calls this directly
no test coverage detected