Skip to content

Commit f9b3add

Browse files
committed
Merge remote-tracking branch 'origin/feat-retry-client-errors' into feat-retry-client-errors
2 parents 69a0d0a + b1da4be commit f9b3add

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: s3fs/core.py

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

1132+
# TODO: cancel MPU if the following fails
11321133
out = [
11331134
await self._call_s3(
11341135
"upload_part",
@@ -1441,7 +1442,7 @@ async def _isdir(self, path):
14411442
path = self._strip_protocol(path).strip("/")
14421443
# Send buckets to super
14431444
if "/" not in path:
1444-
if path in await self._lsbuckets(path):
1445+
if path == "":
14451446
return True
14461447
try:
14471448
out = await self._lsdir(path)

0 commit comments

Comments
 (0)