Use warning instead of warn

This commit is contained in:
Sheng
2018-04-27 08:50:21 +08:00
parent 08853996ba
commit 20be29f989
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class MixinHandler(object):
if ip: # does not validate ip and port here
return (ip, port)
logging.warn('Bad nginx configuration.')
logging.warning('Bad nginx configuration.')
return False