comparison cagou/core/cagou_main.py @ 438:58d3ea442f9c

core (patches): renamed `apply` to `disable_tls_validation` which suits better
author Goffi <goffi@goffi.org>
date Sat, 07 Mar 2020 00:05:49 +0100
parents f8ba934ea462
children 12d188cb1206
comparison
equal deleted inserted replaced
437:b5e6d36fbf9c 438:58d3ea442f9c
462 C.CONFIG_SECTION, 462 C.CONFIG_SECTION,
463 'no_certificate_validation', 463 'no_certificate_validation',
464 C.BOOL_FALSE)) 464 C.BOOL_FALSE))
465 if not self.tls_validation: 465 if not self.tls_validation:
466 from cagou.core import patches 466 from cagou.core import patches
467 patches.apply() 467 patches.disable_tls_validation()
468 log.warning("SSL certificate validation is disabled, this is unsecure!") 468 log.warning("SSL certificate validation is disabled, this is unsecure!")
469 469
470 local_platform.on_host_init(self) 470 local_platform.on_host_init(self)
471 471
472 @property 472 @property