Skip to content

Commit 0f2bf0d

Browse files
committed
thx drew
1 parent cab3823 commit 0f2bf0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyiceberg/manifest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,9 +922,9 @@ def _manifests(io: FileIO, manifest_list: str) -> tuple[ManifestFile, ...]:
922922
file = io.new_input(manifest_list)
923923
result = []
924924

925-
for manifest_file in read_manifest_list(file):
926-
manifest_path = manifest_file.manifest_path
927-
with _manifest_cache_lock:
925+
with _manifest_cache_lock:
926+
for manifest_file in read_manifest_list(file):
927+
manifest_path = manifest_file.manifest_path
928928
if manifest_path in _manifest_cache:
929929
# Reuse the cached ManifestFile object
930930
result.append(_manifest_cache[manifest_path])

0 commit comments

Comments
 (0)