Spelling fixes (#12138)

This commit is contained in:
Ville Skyttä 2018-02-02 23:35:34 +02:00 committed by Daniel Høyer Iversen
parent ed2d54ab45
commit 13ec8b143d
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ CONFIG_SCHEMA = vol.Schema({
# Flag for enabling/disabling the loading of the history from the database. # Flag for enabling/disabling the loading of the history from the database.
# This feature is turned off right now as it's tests are not 100% stable. # This feature is turned off right now as its tests are not 100% stable.
ENABLE_LOAD_HISTORY = False ENABLE_LOAD_HISTORY = False

View file

@ -131,7 +131,7 @@ class PAServer():
self._send_command(str.format(UNLOAD_CMD, module_idx), False) self._send_command(str.format(UNLOAD_CMD, module_idx), False)
def get_module_idx(self, sink_name, source_name): def get_module_idx(self, sink_name, source_name):
"""For a sink/source, return it's module id in our cache, if found.""" """For a sink/source, return its module id in our cache, if found."""
result = re.search(str.format(MOD_REGEX, re.escape(sink_name), result = re.search(str.format(MOD_REGEX, re.escape(sink_name),
re.escape(source_name)), re.escape(source_name)),
self._current_module_state) self._current_module_state)

View file

@ -8,7 +8,7 @@ def deprecated_substitute(substitute_name):
When a property is added to replace an older property, this decorator can When a property is added to replace an older property, this decorator can
be added to the new property, listing the old property as the substitute. be added to the new property, listing the old property as the substitute.
If the old property is defined, it's value will be used instead, and a log If the old property is defined, its value will be used instead, and a log
warning will be issued alerting the user of the impending change. warning will be issued alerting the user of the impending change.
""" """
def decorator(func): def decorator(func):