Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat-retry-client-errors' into f…
Browse files Browse the repository at this point in the history
…eat-retry-client-errors
  • Loading branch information
carshadi committed Mar 12, 2024
2 parents 69a0d0a + b1da4be commit f9b3add
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion s3fs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,7 @@ async def _pipe_file(self, path, data, chunksize=50 * 2**20, **kwargs):
"create_multipart_upload", Bucket=bucket, Key=key, **kwargs
)

# TODO: cancel MPU if the following fails
out = [
await self._call_s3(
"upload_part",
Expand Down Expand Up @@ -1441,7 +1442,7 @@ async def _isdir(self, path):
path = self._strip_protocol(path).strip("/")
# Send buckets to super
if "/" not in path:
if path in await self._lsbuckets(path):
if path == "":
return True
try:
out = await self._lsdir(path)
Expand Down

0 comments on commit f9b3add

Please sign in to comment.