Commit 6545ed6e authored by Giampaolo Rodolà's avatar Giampaolo Rodolà

remove obsolete 'import SOCKS' statement

parent 2d55e2aa
......@@ -38,13 +38,7 @@ python ftplib.py -d localhost -l -p -l
import os
import sys
# Import SOCKS module if it exists, else standard socket module socket
try:
import SOCKS; socket = SOCKS; del SOCKS # import SOCKS as socket
from socket import getfqdn; socket.getfqdn = getfqdn; del getfqdn
except ImportError:
import socket
import socket
from socket import _GLOBAL_DEFAULT_TIMEOUT
__all__ = ["FTP","Netrc"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment