mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 07:54:01 +01:00
cherrypy: 18.8.0 -> 6387a2b
This commit is contained in:
@@ -313,7 +313,10 @@ class Checker(object):
|
||||
|
||||
# -------------------- Specific config warnings -------------------- #
|
||||
def check_localhost(self):
|
||||
"""Warn if any socket_host is 'localhost'. See #711."""
|
||||
"""Warn if any socket_host is 'localhost'.
|
||||
|
||||
See #711.
|
||||
"""
|
||||
for k, v in cherrypy.config.items():
|
||||
if k == 'server.socket_host' and v == 'localhost':
|
||||
warnings.warn("The use of 'localhost' as a socket host can "
|
||||
|
||||
Reference in New Issue
Block a user