Update ccnews_split.py
Browse files- ccnews_split.py +1 -0
ccnews_split.py
CHANGED
@@ -28,6 +28,7 @@ def custom_iter_archive(path_or_buf, _filter=lambda x: True):
|
|
28 |
def _iter_archive(f):
|
29 |
stream = tarfile.open(fileobj=f, mode="r|*")
|
30 |
for i, tarinfo in enumerate(stream):
|
|
|
31 |
if not _filter(i):
|
32 |
continue
|
33 |
file_path = tarinfo.name
|
|
|
28 |
def _iter_archive(f):
|
29 |
stream = tarfile.open(fileobj=f, mode="r|*")
|
30 |
for i, tarinfo in enumerate(stream):
|
31 |
+
print(i, tarinfo)
|
32 |
if not _filter(i):
|
33 |
continue
|
34 |
file_path = tarinfo.name
|