mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
add missing sys import
This commit is contained in:
parent
1857ece79b
commit
c4753b2003
|
@ -4,6 +4,7 @@ copy-paste from py2.6 stdlib socket.py
|
|||
https://gist.github.com/zed/1347055
|
||||
"""
|
||||
import socket
|
||||
import sys
|
||||
|
||||
_GLOBAL_DEFAULT_TIMEOUT = getattr(socket, '_GLOBAL_DEFAULT_TIMEOUT', object())
|
||||
def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
|
||||
|
|
Loading…
Reference in a new issue