diff options
author | Daniel Wagner-Hall <dawagner@gmail.com> | 2016-02-02 17:18:54 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <dawagner@gmail.com> | 2016-02-02 17:18:54 +0000 |
commit | de11b5b9b5da286d2cb96f8ae5c18f6b55b9b460 (patch) | |
tree | 009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/handlers/room.py | |
parent | Merge pull request #549 from matrix-org/erikj/sync (diff) | |
parent | Fix flake8 warnings for new flake8 (diff) | |
download | synapse-de11b5b9b5da286d2cb96f8ae5c18f6b55b9b460.tar.xz |
Merge pull request #551 from matrix-org/daniel/flake8
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 799221c198..088b76d237 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -927,7 +927,7 @@ class RoomContextHandler(BaseHandler): Returns: dict, or None if the event isn't found """ - before_limit = math.floor(limit/2.) + before_limit = math.floor(limit / 2.) after_limit = limit - before_limit now_token = yield self.hs.get_event_sources().get_current_token() |