close Warning:

source: ftputil/host.py @ 1610:618b30604061

Last change on this file since 1610:618b30604061 was 1610:618b30604061, checked in by Stefan Schwarzer <sschwarzer@…>, 6 years ago
Remove function `adapted_session`; apply `SessionAdapter` directly Don't keep the helper function `adapted_session` for applying it just once. Instead, when adapting an FTP session for Python 2 in `ftputil.host._make_session`, wrap it in a `SessionAdapter` object directly. This is like the wrapping in `ftputil.file.FTPFile._open` where we have the Python version check directly in the method.
File size: 37.9 KB

HTML preview not available, since no preview renderer could handle it. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.