Update openwebtext_split.py
Browse files- openwebtext_split.py +1 -1
openwebtext_split.py
CHANGED
|
@@ -55,7 +55,7 @@ def custom_iter_archive(path_or_buf, _filter=lambda x: True):
|
|
| 55 |
if not file_path.endswith('xz'):
|
| 56 |
continue
|
| 57 |
file_obj = stream.extractfile(tarinfo)
|
| 58 |
-
print(
|
| 59 |
with tarfile.open(file_obj, 'rb') as inner_stream:
|
| 60 |
for j, xzinfo in enumerate(inner_stream):
|
| 61 |
print(type(xzinfo))
|
|
|
|
| 55 |
if not file_path.endswith('xz'):
|
| 56 |
continue
|
| 57 |
file_obj = stream.extractfile(tarinfo)
|
| 58 |
+
print(dir(file_obj))
|
| 59 |
with tarfile.open(file_obj, 'rb') as inner_stream:
|
| 60 |
for j, xzinfo in enumerate(inner_stream):
|
| 61 |
print(type(xzinfo))
|