Fixed travis CI indenting error

This commit is contained in:
jamespcole 2015-03-28 18:59:12 +11:00
parent 05239c26f9
commit a9ce12be34

View File

@ -132,9 +132,9 @@ class DdWrtDeviceScanner(object):
def get_ddwrt_data(self, url): def get_ddwrt_data(self, url):
""" Retrieve data from DD-WRT and return parsed result """ """ Retrieve data from DD-WRT and return parsed result """
try: try:
response = requests.get(url, auth=( response = requests.get(
self.username, url,
self.password), auth=(self.username, self.password),
timeout=4) timeout=4)
except requests.exceptions.Timeout: except requests.exceptions.Timeout:
_LOGGER.exception("Connection to the router timed out") _LOGGER.exception("Connection to the router timed out")