summary refs log tree commit diff
path: root/scripts/synapse_port_db
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-26 09:59:50 +0100
committerErik Johnston <erik@matrix.org>2017-10-26 10:01:03 +0100
commit37d766aeddf63450fc12fd2078bcaabe98042dd8 (patch)
tree9db082f5c737c7970102d99065042894361d9a8a /scripts/synapse_port_db
parentMerge branch 'release-v0.24.1' of github.com:matrix-org/synapse (diff)
downloadsynapse-37d766aeddf63450fc12fd2078bcaabe98042dd8.tar.xz
Fix port script
We changed _simple_update_one_txn to use _simple_update_txn but didn't
yank it out in the port script.

Fixes #2565
Diffstat (limited to 'scripts/synapse_port_db')
-rwxr-xr-xscripts/synapse_port_db1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index dc7fe940e8..a7a50e4d36 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -112,6 +112,7 @@ class Store(object):
 
     _simple_update_one = SQLBaseStore.__dict__["_simple_update_one"]
     _simple_update_one_txn = SQLBaseStore.__dict__["_simple_update_one_txn"]
+    _simple_update_txn = SQLBaseStore.__dict__["_simple_update_txn"]
 
     def runInteraction(self, desc, func, *args, **kwargs):
         def r(conn):