summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-19 15:30:48 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-19 15:30:48 +0000
commit00e9c08609eb498d783c3812d9415f2706029559 (patch)
tree780c62a2abb597a6814c30d6caad8915352bcc4e /synapse/app
parentAllow ':memory:' as the database path for sqlite3 (diff)
downloadsynapse-00e9c08609eb498d783c3812d9415f2706029559.tar.xz
Fix syntax
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/homeserver.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 61ad53fbb2..f00b06aa7f 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -241,7 +241,8 @@ def setup():
     except UpgradeDatabaseException:
         sys.stderr.write(
             "\nFailed to upgrade database.\n"
-            "Have you checked for version specific instructions in UPGRADES.rst?\n"
+            "Have you checked for version specific instructions in"
+            " UPGRADES.rst?\n"
         )
         sys.exit(1)
 
@@ -249,7 +250,7 @@ def setup():
 
     db_pool = hs.get_db_pool()
 
-    if db_name == ":memory:"
+    if db_name == ":memory:":
         # Memory databases will need to be setup each time they are opened.
         reactor.callWhenRunning(
             hs.get_db_pool().runWithConnection, prepare_database