Ignore:
Timestamp:
Jul 28, 2013, 1:26:55 PM (6 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Accept bytes or unicode strings for the path in `FTPHost.path.walk`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/host.py

    r1273 r1278  
    812812        any of the available parsers raise a `ParserError`.
    813813        """
    814         # Fail early if we get a unicode path which can't be encoded.
    815         path = str(path)
    816814        return self._stat._listdir(path)
    817815
Note: See TracChangeset for help on using the changeset viewer.