summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-06 16:27:29 +0000
committerErik Johnston <erik@matrix.org>2019-12-06 16:41:48 +0000
commit71ee22c0baf7c804ecc93ce5fd9ac00e1f410e6f (patch)
treea7211c1c255bdd41392d6ff6a9d866e18eaa7bf9 /synapse/storage
parentNewsfile (diff)
downloadsynapse-71ee22c0baf7c804ecc93ce5fd9ac00e1f410e6f.tar.xz
Fix port db script
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/data_stores/main/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/__init__.py b/synapse/storage/data_stores/main/__init__.py
index 66f8a9f3a7..c577c0df5f 100644
--- a/synapse/storage/data_stores/main/__init__.py
+++ b/synapse/storage/data_stores/main/__init__.py
@@ -124,7 +124,7 @@ class DataStore(
             raise Exception(
                 "Found users in database not native to %s!\n"
                 "You cannot changed a synapse server_name after it's been configured"
-                % (self.hostname,)
+                % (hs.hostname,)
             )
 
         self._stream_id_gen = StreamIdGenerator(