diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-11 17:08:57 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-11 17:08:57 +0000 |
commit | 099e4b88d8053fbe5a661706a92a50e2c25f4dd6 (patch) | |
tree | 4b970847fae6525a9a77025fa412bb9773eb84d3 /synapse/storage/__init__.py | |
parent | Again, underscore, not hyphen (diff) | |
download | synapse-099e4b88d8053fbe5a661706a92a50e2c25f4dd6.tar.xz |
Add a description to storage layer's _execute_and_decode()
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 14a788c194..e3bf014d41 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -450,7 +450,7 @@ class DataStore(RoomMemberStore, RoomStore, else: args = (room_id, ) - results = yield self._execute_and_decode(sql, *args) + results = yield self._execute_and_decode("get_current_state", sql, *args) events = yield self._parse_events(results) defer.returnValue(events) @@ -475,7 +475,7 @@ class DataStore(RoomMemberStore, RoomStore, sql += " OR s.type = 'm.room.aliases')" args = (room_id,) - results = yield self._execute_and_decode(sql, *args) + results = yield self._execute_and_decode("get_current_state", sql, *args) events = yield self._parse_events(results) |