mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Relpace deprecated logger.warn() with logger.warning()
This commit is contained in:
parent
0b21e716ca
commit
c3cfd412c9
1 changed files with 2 additions and 2 deletions
|
|
@ -424,8 +424,8 @@ def _parse_ssl_options(ssl_options):
|
|||
except IOError:
|
||||
logger.warning("Missing NGINX TLS options file: %s", ssl_options)
|
||||
except UnicodeDecodeError:
|
||||
logger.warn("Could not read file: %s due to invalid character. "
|
||||
"Only UTF-8 encoding is supported.", ssl_options)
|
||||
logger.warning("Could not read file: %s due to invalid character. "
|
||||
"Only UTF-8 encoding is supported.", ssl_options)
|
||||
except pyparsing.ParseBaseException as err:
|
||||
logger.debug("Could not parse file: %s due to %s", ssl_options, err)
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in a new issue