diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 16:32:20 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 16:32:20 +0100 |
commit | 21593febc349a83f1abca9a696919cc931d17227 (patch) | |
tree | ab9b977d01090a56db6c09a53a912dd69775288a | |
parent | Add stats docs (diff) | |
download | synapse-21593febc349a83f1abca9a696919cc931d17227.tar.xz |
Linting
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r-- | synapse/handlers/stats.py | 1 | ||||
-rw-r--r-- | synapse/storage/stats.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py index 572da0a344..67b7c3f513 100644 --- a/synapse/handlers/stats.py +++ b/synapse/handlers/stats.py @@ -130,7 +130,6 @@ class StatsHandler(StateDeltasHandler): event_id = delta["event_id"] stream_id = delta["stream_id"] prev_event_id = delta["prev_event_id"] - stream_pos = delta["stream_id"] logger.debug("Handling: %r %r, %s", typ, state_key, event_id) diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 4a982f61de..87d5dc5e98 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -661,7 +661,6 @@ class StatsStore(StateDeltasStore): desc="update_room_state", ) - def get_statistics_for_subject(self, stats_type, stats_id, start, size=100): """ Get statistics for a given subject. |