From: Marcin Krol Date: Sun, 21 Mar 2021 23:15:07 +0000 (+0100) Subject: - indentation fix X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=0649d8115817785eb4b35ac0f725406d19cef175;p=tld-builder.git - indentation fix --- diff --git a/TLD_Builder/config.py b/TLD_Builder/config.py index 0e304c4..3bede1b 100644 --- a/TLD_Builder/config.py +++ b/TLD_Builder/config.py @@ -127,11 +127,11 @@ config = Builder_Conf() def init_conf(builder=None): try: - _create_unverified_https_context = ssl._create_unverified_context + _create_unverified_https_context = ssl._create_unverified_context except AttributeError: - pass + pass else: - ssl._create_default_https_context = _create_unverified_https_context + ssl._create_default_https_context = _create_unverified_https_context os.environ['LC_ALL'] = "C" status.push("reading builder config") log.builder = builder