Code style (Black)

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
Olivier Wilkinson (reivilibre) 2019-08-27 09:39:11 +01:00
parent 62a1639287
commit d1e0b91083

View file

@ -243,9 +243,7 @@ def _upgrade_existing_database(
else: else:
specific_engine_extension = ".sqlite" specific_engine_extension = ".sqlite"
specific_engine_extensions = ( specific_engine_extensions = (".sqlite", ".postgres")
".sqlite", ".postgres"
)
for v in range(start_ver, SCHEMA_VERSION + 1): for v in range(start_ver, SCHEMA_VERSION + 1):
logger.info("Upgrading schema to v%d", v) logger.info("Upgrading schema to v%d", v)