summary refs log tree commit diff
path: root/scripts-dev/hash_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts-dev/hash_history.py')
-rw-r--r--scripts-dev/hash_history.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts-dev/hash_history.py b/scripts-dev/hash_history.py

index bf3862a386..8d6c3d24db 100644 --- a/scripts-dev/hash_history.py +++ b/scripts-dev/hash_history.py
@@ -1,5 +1,3 @@ -from __future__ import print_function - import sqlite3 import sys @@ -15,7 +13,7 @@ from synapse.storage.pdu import PduStore from synapse.storage.signatures import SignatureStore -class Store(object): +class Store: _get_pdu_tuples = PduStore.__dict__["_get_pdu_tuples"] _get_pdu_content_hashes_txn = SignatureStore.__dict__["_get_pdu_content_hashes_txn"] _get_prev_pdu_hashes_txn = SignatureStore.__dict__["_get_prev_pdu_hashes_txn"]