mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
remove unneeded print
This commit is contained in:
@@ -68,7 +68,6 @@ def iterate(data, bufsize, offset=0, advance=1, func=None):
|
|||||||
|
|
||||||
if buf_index == bufsize:
|
if buf_index == bufsize:
|
||||||
result = func(buf) if func else buf
|
result = func(buf) if func else buf
|
||||||
print offset, result
|
|
||||||
yield offset, result
|
yield offset, result
|
||||||
buf[:-advance] = buf[advance:]
|
buf[:-advance] = buf[advance:]
|
||||||
buf_index = max(0, buf_index - advance)
|
buf_index = max(0, buf_index - advance)
|
||||||
|
|||||||
Reference in New Issue
Block a user