summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 09:39:11 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-27 09:39:11 +0100
commitd1e0b91083b9dd0dcbb9fa5819c8072c9e8625ef (patch)
treea726b6ba70d279ade500c6a0c820a2024df00f81
parentNewsfile (diff)
downloadsynapse-d1e0b91083b9dd0dcbb9fa5819c8072c9e8625ef.tar.xz
Code style (Black)
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/prepare_database.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py
index 0270cd6f6c..e96eed8a6d 100644
--- a/synapse/storage/prepare_database.py
+++ b/synapse/storage/prepare_database.py
@@ -243,9 +243,7 @@ def _upgrade_existing_database(
     else:
         specific_engine_extension = ".sqlite"
 
-    specific_engine_extensions = (
-        ".sqlite", ".postgres"
-    )
+    specific_engine_extensions = (".sqlite", ".postgres")
 
     for v in range(start_ver, SCHEMA_VERSION + 1):
         logger.info("Upgrading schema to v%d", v)