mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Resolve small FIXME in SubRange
This commit is contained in:
parent
4356b706f9
commit
b155f21610
1 changed files with 1 additions and 4 deletions
|
@ -697,12 +697,9 @@ class SubRange (object):
|
|||
|
||||
def __iter__ (self):
|
||||
|
||||
# FIXME: Use itertools, should be faster!
|
||||
l = self.l
|
||||
i = self.start
|
||||
while i < self.stop:
|
||||
for i in xrange (self.start, self.stop):
|
||||
yield l[i]
|
||||
i += 1
|
||||
|
||||
class RangeFilteredLogModel (FilteredLogModelBase):
|
||||
|
||||
|
|
Loading…
Reference in a new issue