Close output file, assuming it's not stdout
(self)
| 138 | pass |
| 139 | |
| 140 | def close(self): |
| 141 | """ |
| 142 | Close output file, assuming it's not stdout |
| 143 | """ |
| 144 | if self.fh not in (sys.stdout, sys.stdout.buffer): |
| 145 | self.fh.close() |
| 146 | |
| 147 | # NOTE: Output modules no longer handles logging. Logging should be done by creating a logger |
| 148 | # at the top of each of the modules. |
no outgoing calls
no test coverage detected