mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
PEP8 cleanups
This commit is contained in:
parent
8fa3cc37f9
commit
d260a42ca2
7 changed files with 29 additions and 16 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue