Fix flake8 warnings for new flake8

This commit is contained in:
Daniel Wagner-Hall 2016-02-02 17:18:50 +00:00 committed by review.rocks
parent 43e13dbd4d
commit d83d004ccd
34 changed files with 74 additions and 67 deletions

View file

@ -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()