Changeset 803:52cb5a25265a


Ignore:
Timestamp:
May 10, 2009, 4:06:52 PM (12 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Convert:
svn:778c30c8-61e0-0310-89d4-fe2f97a467b2/trunk@871
Message:
Removed #TODO comment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftp_stat.py

    r798 r803  
    400400        # we _can't_ put this check into `FTPHost._dir`; see its docstring
    401401        path = self._path.abspath(path)
     402        # `listdir` should only be allowed for directories and links to them
    402403        if not self._path.isdir(path):
    403             #TODO use FTP DIR command on the file to implicitly use
    404             #  the usual status code of the server for missing files
    405             #  (450 vs. 550)
    406404            raise ftp_error.PermanentError(
    407405                  "550 %s: no such directory or wrong directory parser used" %
Note: See TracChangeset for help on using the changeset viewer.