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:33:04 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-19 15:33:04 +0000
commit42529cbcedbea7c7f7347c793f113e2cbc7c73eb (patch)
treeef5e8fe5bc8e00decb0de812020237f05f74eb76 /synapse/app
parentFix syntax (diff)
downloadsynapse-42529cbcedbea7c7f7347c793f113e2cbc7c73eb.tar.xz
Fix pyflakes errors
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index f00b06aa7f..afe3d19760 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -253,7 +253,7 @@ def setup():
     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
+            db_pool.runWithConnection, prepare_database
         )
 
     if config.manhole: