* Use sqlite's WAL mode to avoid `database is locked` errors - Relevant issue: https://github.com/home-assistant/home-assistant/issues/4780 Code: - http://stackoverflow.com/a/23661501/1588795 - http://docs.sqlalchemy.org/en/rel_0_9/dialects/sqlite.html#foreign-key-support - https://github.com/g2p/bedup/pull/86/files * Only set WAL if using sqlite * Reorder imports * Fix pylint warnings |
||
---|---|---|
.. | ||
__init__.py | ||
const.py | ||
migration.py | ||
models.py | ||
purge.py | ||
util.py |