summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-02 17:18:50 +0000
committerreview.rocks <nobody@review.rocks>2016-02-02 17:18:50 +0000
commitd83d004ccdb7ace1dcb51b8acf7645bc176b10a5 (patch)
tree009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/handlers/room.py
parentMerge pull request #549 from matrix-org/erikj/sync (diff)
downloadsynapse-d83d004ccdb7ace1dcb51b8acf7645bc176b10a5.tar.xz
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py2
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()