Fix PEP257 issues

This commit is contained in:
Fabian Affolter committed 2016-03-08 11:46:32 +01:00
1 parent cf7c2c492a
commit 652f059d6a
19 files changed
+86 -131

No files matched your search

+3 -4
View File
@@ -1,6 +1,4 @@
"""
homeassistant.components.notify.syslog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Syslog notification service.
For more details about this platform, please refer to the documentation at
@@ -69,16 +67,17 @@ def get_service(hass, config):
# pylint: disable=too-few-public-methods
class SyslogNotificationService(BaseNotificationService):
""" Implements syslog notification service. """
"""Implement the syslog notification service."""
# pylint: disable=too-many-arguments
def __init__(self, facility, option, priority):
"""Initialize the service."""
self._facility = facility
self._option = option
self._priority = priority
def send_message(self, message="", **kwargs):
""" Send a message to a user. """
"""Send a message to a user."""
import syslog
title = kwargs.get(ATTR_TITLE)