Fixed logging-format-interpolation lint errors

This commit is contained in:
Gustav Ahlberg 2015-01-25 21:50:54 +01:00
parent 631251f1f7
commit 7066f25423
2 changed files with 6 additions and 6 deletions

View File

@ -95,8 +95,8 @@ class SunsetEventListener(SunEventListener):
next_time = self.schedule_next_event(hass, next_setting)
_LOGGER.info(
'SunsetEventListener scheduled for {}, will call service {}.{}'
.format(next_time, self.domain, self.service))
'SunsetEventListener scheduled for %s, will call service %s.%s',
next_time, self.domain, self.service)
# pylint: disable=too-few-public-methods
@ -110,5 +110,5 @@ class SunriseEventListener(SunEventListener):
next_time = self.schedule_next_event(hass, next_rising)
_LOGGER.info(
'SunriseEventListener scheduled for {}, will call service {}.{}'
.format(next_time, self.domain, self.service))
'SunriseEventListener scheduled for %s, will call service %s.%s',
next_time, self.domain, self.service)

View File

@ -65,5 +65,5 @@ class TimeEventListener(ServiceEventListener):
hass.track_point_in_time(execute, next_time)
_LOGGER.info(
'TimeEventListener scheduled for {}, will call service {}.{}'
.format(next_time, self.domain, self.service))
'TimeEventListener scheduled for %s, will call service %s.%s',
next_time, self.domain, self.service)