summary refs log tree commit diff
path: root/synapse/storage/engines
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-13 11:41:04 +0100
committerErik Johnston <erik@matrix.org>2015-10-13 11:43:43 +0100
commitec398af41c4d276abb02279efbcbb0aa08a4cbc8 (patch)
treefa6dc255b20b422b6c724d36852317a6ec095a9b /synapse/storage/engines
parentSplit out the schema preparation and update logic into its own module (diff)
downloadsynapse-ec398af41c4d276abb02279efbcbb0aa08a4cbc8.tar.xz
Expose error more nicely
Diffstat (limited to 'synapse/storage/engines')
-rw-r--r--synapse/storage/engines/postgres.py2
-rw-r--r--synapse/storage/engines/sqlite3.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py
index 949396044e..7e45dabf4c 100644
--- a/synapse/storage/engines/postgres.py
+++ b/synapse/storage/engines/postgres.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from synapse.storage._schema_prepare import prepare_database
+from synapse.storage.schema_prepare import prepare_database
 
 from ._base import IncorrectDatabaseSetup
 
diff --git a/synapse/storage/engines/sqlite3.py b/synapse/storage/engines/sqlite3.py
index a66815ef2d..0eeaa45d19 100644
--- a/synapse/storage/engines/sqlite3.py
+++ b/synapse/storage/engines/sqlite3.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from synapse.storage._schema_prepare import (
+from synapse.storage.schema_prepare import (
     prepare_database, prepare_sqlite3_database
 )