Skip to content

Commit b1da4be

Browse files
authored
Merge branch 'fsspec:main' into feat-retry-client-errors
2 parents 4b305f7 + 0fbefba commit b1da4be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

s3fs/core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ async def _pipe_file(self, path, data, chunksize=50 * 2**20, **kwargs):
11311131
"create_multipart_upload", Bucket=bucket, Key=key, **kwargs
11321132
)
11331133

1134+
# TODO: cancel MPU if the following fails
11341135
out = [
11351136
await self._call_s3(
11361137
"upload_part",
@@ -1443,7 +1444,7 @@ async def _isdir(self, path):
14431444
path = self._strip_protocol(path).strip("/")
14441445
# Send buckets to super
14451446
if "/" not in path:
1446-
if path in await self._lsbuckets(path):
1447+
if path == "":
14471448
return True
14481449
try:
14491450
out = await self._lsdir(path)

0 commit comments

Comments
 (0)