Use warning instead of warn
This commit is contained in:
+1
-1
@@ -438,7 +438,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
||||
if result:
|
||||
return result
|
||||
|
||||
logging.warn('Could not detect the default ecnoding.')
|
||||
logging.warning('Could not detect the default ecnoding.')
|
||||
return 'utf-8'
|
||||
|
||||
def ssh_connect(self, args):
|
||||
|
||||
Reference in New Issue
Block a user