warn-->warning

This commit is contained in:
Erica Portnoy
2018-10-31 18:11:43 -07:00
parent 35510bfc6c
commit 1eabb4bae3
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ def _parse_ssl_options(ssl_options):
with open(ssl_options) as _file:
return nginxparser.load(_file)
except IOError:
logger.warn("Missing NGINX TLS options file: %s", ssl_options)
logger.warning("Missing NGINX TLS options file: %s", ssl_options)
except pyparsing.ParseBaseException as err:
logger.debug("Could not parse file: %s due to %s", ssl_options, err)
return []