No need to gate on 2.6 anymore

This commit is contained in:
Donald Stufft 2017-03-18 13:46:23 -04:00
parent e341417e62
commit a504ebdbcc
1 changed files with 1 additions and 2 deletions

View File

@ -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(