Behave a little better with unparsable/colored files

This commit is contained in:
René Stadler 2007-11-29 15:25:31 +02:00 committed by Stefan Sauer
parent 026604747a
commit 527b3ed2ef

View file

@ -121,6 +121,10 @@ class LineFrequencySentinel (object):
first_index = found
target_ts += step
if step == 0:
result = []
partitions = []
self.step = step
self.data = result
self.partitions = partitions