Skip to content

Commit

Permalink
Remove FTPFile.__lenght_hint__
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Larralde committed Sep 10, 2017
1 parent 5ed51f8 commit 357f334
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/ftpfs.py
Expand Up @@ -107,9 +107,6 @@ def __init__(self, ftpfs, path, mode):
self._read_conn = None
self._write_conn = None

def __length_hint__(self):
return self.fs.getsize(self.path)

def _open_ftp(self):
ftp = self.fs._open_ftp(self.fs.ftp.encoding)
ftp.voidcmd(str('TYPE I'))
Expand Down

0 comments on commit 357f334

Please sign in to comment.