Skip to content

Commit

Permalink
client:do not shadow parsing list response errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pohmelie committed Dec 27, 2021
1 parent 3b74b90 commit 2e0c317
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions aioftp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,11 +782,7 @@ async def __anext__(cls):
else:
raise StopAsyncIteration

try:
name, info = cls.parse_line(line)
except Exception:
continue

name, info = cls.parse_line(line)
stat = cls.path / name, info
if info["type"] == "dir" and recursive:
cls.directories.append(stat)
Expand Down

0 comments on commit 2e0c317

Please sign in to comment.