Primary output function. Should be overwritten by subclasses.
(self, *args, **kwargs)
| 220 | return output |
| 221 | |
| 222 | def write(self, *args, **kwargs): |
| 223 | """ |
| 224 | Primary output function. Should be overwritten by subclasses. |
| 225 | """ |
| 226 | line = self.convert(*args, **kwargs) |
| 227 | try: |
| 228 | self.fh.write(line) |
| 229 | if self.nobuffer: |
| 230 | self.fh.flush() |
| 231 | except BrokenPipeError: |
| 232 | pass |
| 233 | |
| 234 | def alert(self, *args, **kwargs): |
| 235 | """ |
no test coverage detected