(self, conn)
| 764 | (self.session_number,)+line) |
| 765 | |
| 766 | def _writeout_output_cache(self, conn): |
| 767 | with conn: |
| 768 | for line in self.db_output_cache: |
| 769 | conn.execute("INSERT INTO output_history VALUES (?, ?, ?)", |
| 770 | (self.session_number,)+line) |
| 771 | |
| 772 | @needs_sqlite |
| 773 | def writeout_cache(self, conn=None): |