diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2017-12-07 00:36:37 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2017-12-07 00:38:03 -0500 |
commit | 56e41bfcacc9ff042108ad0dc80aa82c9f4c465f (patch) | |
tree | a7ecfc2d5300f2d469f5ab59021b8c4e755711c2 /winbuild.py | |
parent | f065292c06c65d4a45257915364e6505dc75dc95 (diff) | |
download | pycurl-56e41bfcacc9ff042108ad0dc80aa82c9f4c465f.tar.gz |
Apparently python 3.3 does not need this
Diffstat (limited to 'winbuild.py')
-rw-r--r-- | winbuild.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winbuild.py b/winbuild.py index 6351098..6822a37 100644 --- a/winbuild.py +++ b/winbuild.py @@ -928,7 +928,10 @@ if opts.python: # https://stackoverflow.com/questions/35569042/python-3-ssl-certificate-verify-failed import ssl -ssl._create_default_https_context = ssl._create_unverified_context +try: + ssl._create_default_https_context = ssl._create_unverified_context +except AttributeError: + pass if len(args) > 0: if args[0] == 'download': |