(self)
| 125 | ) |
| 126 | |
| 127 | def _try_to_enable_wal(self): |
| 128 | try: |
| 129 | self.execute(self._ENABLE_WAL) |
| 130 | except sqlite3.Error: |
| 131 | # This is just a performance enhancement so it is optional. Not all |
| 132 | # systems will have a sqlite compiled with the WAL enabled. |
| 133 | pass |
| 134 | |
| 135 | |
| 136 | class CLISessionDatabaseWriter: |
no test coverage detected