Show More
@@ -146,6 +146,9 b' class lazyparser(object):' | |||||
146 | lend = len(data) / self.s |
|
146 | lend = len(data) / self.s | |
147 | i = blockstart / self.s |
|
147 | i = blockstart / self.s | |
148 | off = 0 |
|
148 | off = 0 | |
|
149 | # lazyindex supports __delitem__ | |||
|
150 | if lend > len(self.index) - i: | |||
|
151 | lend = len(self.index) - i | |||
149 | for x in xrange(lend): |
|
152 | for x in xrange(lend): | |
150 | if self.index[i + x] == None: |
|
153 | if self.index[i + x] == None: | |
151 | b = data[off : off + self.s] |
|
154 | b = data[off : off + self.s] |
General Comments 0
You need to be logged in to leave comments.
Login now