mirror of https://github.com/pypa/pip
No need to gate on 2.6 anymore
This commit is contained in:
parent
e341417e62
commit
a504ebdbcc
|
@ -116,8 +116,7 @@ def user_agent():
|
|||
if platform.machine():
|
||||
data["cpu"] = platform.machine()
|
||||
|
||||
# Python 2.6 doesn't have ssl.OPENSSL_VERSION.
|
||||
if HAS_TLS and sys.version_info[:2] > (2, 6):
|
||||
if HAS_TLS:
|
||||
data["openssl_version"] = ssl.OPENSSL_VERSION
|
||||
|
||||
return "{data[installer][name]}/{data[installer][version]} {json}".format(
|
||||
|
|
Loading…
Reference in New Issue