def _write_history(self):
if self.data['<STR_LIT>'] is None:<EOL><INDENT>return<EOL><DEDENT>contents = '<STR_LIT:\n>'.join(self.data['<STR_LIT>'])<EOL>history = self.data['<STR_LIT>']<EOL>open(history, '<STR_LIT:w>').write(contents)<EOL>logger.info("<STR_LIT>", history)<EOL>
Write previously-calculated history lines back to the file