mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Return list, not generator.
This commit is contained in:
parent
e462aa97bf
commit
a547e2df85
@ -99,9 +99,7 @@ class StreamChangeCache(object):
|
||||
keys = self._cache.keys()
|
||||
i = keys.bisect_right(stream_pos)
|
||||
|
||||
return (
|
||||
self._cache[k] for k in keys[i:]
|
||||
)
|
||||
return [self._cache[k] for k in keys[i:]]
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user