(s, **kwargs)
| 48 | oldwrite = tr._tw.write |
| 49 | |
| 50 | def tee_write(s, **kwargs): |
| 51 | oldwrite(s, **kwargs) |
| 52 | if isinstance(s, str): |
| 53 | s = s.encode("utf-8") |
| 54 | config.stash[pastebinfile_key].write(s) |
| 55 | |
| 56 | tr._tw.write = tee_write |
| 57 |
nothing calls this directly
no test coverage detected
searching dependent graphs…