From f227a4ff8aaf7fa20d93fb7001f6ba42e10c31c3 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Wed, 24 Dec 2014 14:54:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D1=81=20python-2.7.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/console/application/client_class.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/console/application/client_class.py b/pym/console/application/client_class.py index 3ab97f4..81dc024 100644 --- a/pym/console/application/client_class.py +++ b/pym/console/application/client_class.py @@ -15,6 +15,8 @@ # limitations under the License. import urllib2 as u2 +if hasattr(u2,"ssl"): + u2.ssl._create_default_https_context = u2.ssl._create_unverified_context import os, sys import socket, ssl import OpenSSL, hashlib, M2Crypto