From f3352546c6f3eca2511136c873d8ce7c0bb89d28 Mon Sep 17 00:00:00 2001
From: Ryan Turner <ryan.e.t@gmail.com>
Date: Mon, 9 Nov 2015 00:00:31 -0600
Subject: [PATCH] More lint fixes

---
 homeassistant/components/camera/mjpeg.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/homeassistant/components/camera/mjpeg.py b/homeassistant/components/camera/mjpeg.py
index 7e83546b1a8..12a2bbcc49e 100644
--- a/homeassistant/components/camera/mjpeg.py
+++ b/homeassistant/components/camera/mjpeg.py
@@ -44,6 +44,7 @@ class MjpegCamera(Camera):
         """ Return a still image reponse from the camera. """
 
         def process_response(response):
+            """ Take in a response obj, return the jpg from it. """
             data = b''
             for chunk in response.iter_content(1024):
                 data += chunk
@@ -54,12 +55,14 @@ 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