diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-15 16:17:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-15 16:17:36 +0100 |
commit | d260a42ca279fbca46f85b2c96bddc4f814ecef3 (patch) | |
tree | 41a27d45cdd901555b3e877d45b757848d199f7f /synapse/storage/stream.py | |
parent | Comment. (diff) | |
download | synapse-d260a42ca279fbca46f85b2c96bddc4f814ecef3.tar.xz |
PEP8 cleanups
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/stream.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 7c2c45e0ff..cf4b1682b6 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -61,7 +61,6 @@ class StreamStore(SQLBaseStore): defer.returnValue(([], to_key)) return - sql = ( "SELECT * FROM events as e WHERE " "((room_id IN (%(current)s)) OR " @@ -90,7 +89,6 @@ class StreamStore(SQLBaseStore): ret = [self._parse_event_from_row(r) for r in rows] - if rows: if from_key < to_key: key = max([r["ordering"] for r in rows]) |