summary refs log tree commit diff
path: root/synapse/storage/signatures.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-11-03 12:58:57 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-11-03 12:58:57 +0000
commit71a452a324e45c338c6d91e6b17b92712157367c (patch)
tree2f95a26c9c8ff024c855ed7a8ca674e833dddca8 /synapse/storage/signatures.py
parentmore comment (diff)
parentfix tests (diff)
downloadsynapse-71a452a324e45c338c6d91e6b17b92712157367c.tar.xz
Merge branch 'dinsic' into matthew/shadow-server
Diffstat (limited to 'synapse/storage/signatures.py')
-rw-r--r--synapse/storage/signatures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/signatures.py b/synapse/storage/signatures.py
index 5623391f6e..158e9dbe7b 100644
--- a/synapse/storage/signatures.py
+++ b/synapse/storage/signatures.py
@@ -27,7 +27,7 @@ from ._base import SQLBaseStore
 # py2 sqlite has buffer hardcoded as only binary type, so we must use it,
 # despite being deprecated and removed in favor of memoryview
 if six.PY2:
-    db_binary_type = buffer
+    db_binary_type = six.moves.builtins.buffer
 else:
     db_binary_type = memoryview