From 3a6aa8f3d16d946e118aa00d2eb954821d6b7dde Mon Sep 17 00:00:00 2001 From: Ryan Turner Date: Sun, 8 Nov 2015 23:51:01 -0600 Subject: [PATCH] Fixed line length issues to make lint happy. Still bummed that I decreased test coverage :( --- homeassistant/components/camera/mjpeg.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/camera/mjpeg.py b/homeassistant/components/camera/mjpeg.py index 29c817ed159..7e83546b1a8 100644 --- a/homeassistant/components/camera/mjpeg.py +++ b/homeassistant/components/camera/mjpeg.py @@ -54,10 +54,12 @@ class MjpegCamera(Camera): return jpg if self._username and self._password: - with closing(requests.get(self._mjpeg_url, auth=HTTPBasicAuth(self._username, self._password), stream=True)) as response: + with closing(requests.get(self._mjpeg_url, auth = HTTPBasicAuth( + self._username, self._password), stream = True)) as response: return process_response(response) else: - with closing(requests.get(self._mjpeg_url, stream=True)) as response: + with closing(requests.get(self._mjpeg_url, + stream = True)) as response: return process_response(response) @property