Skip to content

Commit

Permalink
small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Aug 27, 2024
1 parent 2575154 commit 55d817f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/cudf/cudf/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,11 +592,10 @@ def _get_native_s3_path(source, fs) -> None | str:
fs
):
for source in filepath_or_buffer:
s3path = _get_native_s3_path(source, fs)
if s3path is None:
filepaths_or_buffers.append(_get_native_s3_path(source, fs))
if filepaths_or_buffers[-1] is None:
filepaths_or_buffers = []
break
filepaths_or_buffers.append(s3path)

if not filepaths_or_buffers:
filepaths_or_buffers = ioutils.get_reader_filepath_or_buffer(
Expand Down

0 comments on commit 55d817f

Please sign in to comment.