Skip to content

Commit 4a19bb8

Browse files
author
atollk
committed
Removed _find_suitable_format after its only use was deleted in the last commit.
1 parent c04ff0a commit 4a19bb8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

fs/_ftp_parse.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@ def parse_line(line):
8484
return None
8585

8686

87-
def _find_suitable_format(t, formats):
88-
for frmt in formats:
89-
try:
90-
if time.strptime(t, frmt):
91-
return frmt
92-
except ValueError:
93-
continue
94-
return None
95-
96-
9787
def _parse_time(t, formats):
9888
_t = None
9989
for frmt in formats:

0 commit comments

Comments
 (0)