diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-11-01 02:43:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 02:43:24 +1100 |
commit | 020add50997f697c7847ac84b86b457ba2f3e32d (patch) | |
tree | 4fe9abbcd1cac11bfe9077a85ceabd7bf9ea94ce /synapse/push/pusherpool.py | |
parent | Merge pull request #6294 from matrix-org/erikj/add_state_storage (diff) | |
download | synapse-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/push/pusherpool.py')
-rw-r--r-- | synapse/push/pusherpool.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py index 08e840fdc2..0f6992202d 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py @@ -103,9 +103,7 @@ class PusherPool: # create the pusher setting last_stream_ordering to the current maximum # stream ordering in event_push_actions, so it will process # pushes from this point onwards. - last_stream_ordering = ( - yield self.store.get_latest_push_action_stream_ordering() - ) + last_stream_ordering = yield self.store.get_latest_push_action_stream_ordering() yield self.store.add_pusher( user_id=user_id, |