From 5e6a61eee908cea520b3907074c5e0a9bb61c8da Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 25 Jan 2016 19:59:38 +0100 Subject: calcurse-caldav: Fix comment on certificate checks Clarify that ssl._create_unverified_context() was added in Python 3.4.3. Signed-off-by: Lukas Fleischer --- contrib/caldav/calcurse-caldav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index 841a63a..16a5ca1 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -417,7 +417,7 @@ try: context = ssl._create_unverified_context() conn = http.client.HTTPSConnection(hostname, context=context) except AttributeError: - # Python versions prior to 3.4 do not support + # Python versions prior to 3.4.3 do not support # ssl._create_unverified_context(). However, these versions do not # seem to verify certificates by default so we can simply fall back # to http.client.HTTPSConnection(). -- cgit v1.2.3