From c856c117a806734fef2ba08662511552c461376e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <paulus.schoutsen@mycase.com> Date: Tue, 11 Nov 2014 09:30:11 -0800 Subject: [PATCH] PEP8 style fix --- homeassistant/components/http/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index a730edd8c01..29471853c5b 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -415,10 +415,10 @@ class RequestHandler(SimpleHTTPRequestHandler): status_code = HTTP_CREATED if is_new_state else HTTP_OK - self._write_json(state.as_dict(), - status_code=status_code, - location= - rem.URL_API_STATES_ENTITY.format(entity_id)) + self._write_json( + state.as_dict(), + status_code=status_code, + location=rem.URL_API_STATES_ENTITY.format(entity_id)) else: self._message( "State of {} changed to {}".format(entity_id, new_state)) -- GitLab