summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-13 18:15:23 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-13 19:19:15 +0100
commitbaf04be5cfa6337dcc6041cdb67023aa7f950ee1 (patch)
treefc2b461dffcb9be8f5d4025e80fc3eccbfc2ff4e /synapse/storage/_base.py
parentwhen we're talking about backfilling data in federation, call it backfilling ... (diff)
downloadsynapse-baf04be5cfa6337dcc6041cdb67023aa7f950ee1.tar.xz
Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataStore mixed-in result class
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 65f691ead4..1b98bdfcef 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -27,6 +27,7 @@ logger = logging.getLogger(__name__)
 class SQLBaseStore(object):
 
     def __init__(self, hs):
+        self.hs = hs
         self._db_pool = hs.get_db_pool()
 
     def cursor_to_dict(self, cursor):