summary refs log tree commit diff
path: root/synapse/handlers/stats.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-11-01 02:43:24 +1100
committerGitHub <noreply@github.com>2019-11-01 02:43:24 +1100
commit020add50997f697c7847ac84b86b457ba2f3e32d (patch)
tree4fe9abbcd1cac11bfe9077a85ceabd7bf9ea94ce /synapse/handlers/stats.py
parentMerge pull request #6294 from matrix-org/erikj/add_state_storage (diff)
downloadsynapse-020add50997f697c7847ac84b86b457ba2f3e32d.tar.xz
Update black to 19.10b0 (#6304)
* update version of black and also fix the mypy config being overridden
Diffstat (limited to 'synapse/handlers/stats.py')
-rw-r--r--synapse/handlers/stats.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py
index 26bc276692..7f7d56390e 100644
--- a/synapse/handlers/stats.py
+++ b/synapse/handlers/stats.py
@@ -108,7 +108,10 @@ class StatsHandler(StateDeltasHandler):
                 user_deltas = {}
 
             # Then count deltas for total_events and total_event_bytes.
-            room_count, user_count = yield self.store.get_changes_room_total_events_and_bytes(
+            (
+                room_count,
+                user_count,
+            ) = yield self.store.get_changes_room_total_events_and_bytes(
                 self.pos, max_pos
             )