Skip to content

Commit

Permalink
Update gcsfs/core.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Levang <39069044+slevang@users.noreply.github.com>
  • Loading branch information
martindurant and slevang authored Mar 3, 2024
1 parent 1d0fdf9 commit 0f53bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcsfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ async def _rm_files(self, paths, batchsize=20):
code = int(m.groups()[0]) if m else None
if code in [200, 204]:
out.append(path)
elif code in errs and i < 5:
elif code in errs and retry < 5:
remaining.append(path)
else:
msg = re.search("{(.*)}", response.replace("\n", ""))
Expand Down

0 comments on commit 0f53bcb

Please sign in to comment.