Overwrite self.logfile with 0 bytes.
(self)
| 95 | sys.exit() |
| 96 | |
| 97 | def emptyLog(self): |
| 98 | """Overwrite self.logfile with 0 bytes.""" |
| 99 | with open(self.logfile, 'wb') as f: |
| 100 | f.write('') |
| 101 | |
| 102 | def markLog(self, key=None): |
| 103 | """Insert a marker line into the log and set self.lastmarker.""" |