From ed7a2270356ce3385e729ad1fc2faa618d8463e3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 2 Sep 2016 06:30:20 +0200 Subject: [PATCH] Fix typo (#3108) --- homeassistant/components/http.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py index b9a81858d39..dba1ab0f86e 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -24,21 +24,21 @@ from homeassistant.core import split_entity_id import homeassistant.util.dt as dt_util import homeassistant.helpers.config_validation as cv -DOMAIN = "http" -REQUIREMENTS = ("cherrypy==7.1.0", "static3==0.7.0", "Werkzeug==0.11.10") +DOMAIN = 'http' +REQUIREMENTS = ('cherrypy==7.1.0', 'static3==0.7.0', 'Werkzeug==0.11.10') -CONF_API_PASSWORD = "api_password" -CONF_SERVER_HOST = "server_host" -CONF_SERVER_PORT = "server_port" -CONF_DEVELOPMENT = "development" +CONF_API_PASSWORD = 'api_password' +CONF_SERVER_HOST = 'server_host' +CONF_SERVER_PORT = 'server_port' +CONF_DEVELOPMENT = 'development' CONF_SSL_CERTIFICATE = 'ssl_certificate' CONF_SSL_KEY = 'ssl_key' CONF_CORS_ORIGINS = 'cors_allowed_origins' DATA_API_PASSWORD = 'api_password' -# TLS configuation follows the best-practice guidelines -# specified here: https://wiki.mozilla.org/Security/Server_Side_TLS +# TLS configuation follows the best-practice guidelines specified here: +# https://wiki.mozilla.org/Security/Server_Side_TLS # Intermediate guidelines are followed. SSL_VERSION = ssl.PROTOCOL_SSLv23 SSL_OPTS = ssl.OP_NO_SSLv2 | ssl.OP_NO_SSLv3 @@ -478,7 +478,7 @@ class HomeAssistantView(object): authenticated = True if self.requires_auth and not authenticated: - _LOGGER.warning('Login attempt or request with an invalid' + _LOGGER.warning('Login attempt or request with an invalid ' 'password from %s', request.remote_addr) raise Unauthorized()