Return list, not generator.

pull/645/head
Erik Johnston 2016-03-14 15:30:19 +00:00
parent e462aa97bf
commit a547e2df85
1 changed files with 1 additions and 3 deletions

View File

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