Bug fix in parallel_enumerate_blobs
This commit is contained in:
Родитель
2039f58217
Коммит
db8bdd9657
|
@ -15,7 +15,7 @@ import argparse
|
|||
|
||||
from azure.storage.blob import BlobServiceClient
|
||||
from azure.core.exceptions import ResourceNotFoundError
|
||||
from queue import Queue
|
||||
from queue import Queue
|
||||
|
||||
# Set to -1 to process all files
|
||||
debug_max_files = -1
|
||||
|
|
|
@ -336,7 +336,7 @@ def parse_filenames_and_sizes(list_file):
|
|||
if ('catalog.json' in line) or ('stac.json' in line):
|
||||
continue
|
||||
tokens = line.split('\t')
|
||||
assert len(tokens) == 2
|
||||
assert len(tokens) >= 2
|
||||
fn = tokens[0]
|
||||
size_str = tokens[1]
|
||||
size = int(size_str)
|
||||
|
|
Загрузка…
Ссылка в новой задаче