Resolve small FIXME in SubRange

This commit is contained in:
René Stadler 2008-01-22 13:50:04 +02:00 committed by Stefan Sauer
parent 4356b706f9
commit b155f21610

View file

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