Code formatting

Correct pylint errors
This commit is contained in:
hydreliox 2016-01-11 09:30:32 +01:00
parent 542b640ef0
commit bc73a6829d

View File

@ -9,7 +9,7 @@ https://home-assistant.io/components/notify. ... /
import logging import logging
from homeassistant.helpers import validate_config from homeassistant.helpers import validate_config
from homeassistant.components.notify import ( from homeassistant.components.notify import (
DOMAIN, ATTR_TITLE, BaseNotificationService) DOMAIN, BaseNotificationService)
from homeassistant.const import CONF_USERNAME, CONF_ACCESS_TOKEN from homeassistant.const import CONF_USERNAME, CONF_ACCESS_TOKEN
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -33,8 +33,6 @@ def get_service(hass, config):
class FreeSMSNotificationService(BaseNotificationService): class FreeSMSNotificationService(BaseNotificationService):
""" Implements notification service for the Free SMS service. """ """ Implements notification service for the Free SMS service. """
def __init__(self, username, access_token): def __init__(self, username, access_token):
from freesms import FreeClient from freesms import FreeClient
self.free_client = FreeClient(username, access_token) self.free_client = FreeClient(username, access_token)