Pylint cleanups (#15626)

* Pylint 2 no-else-return fixes

* Remove unneeded abstract-class-not-used pylint disable
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-07-23 10:16:05 +02:00
1 parent a38c0d6d15
commit b7c336a687
166 files changed
+425 -490

No files matched your search

+2 -2
View File
@@ -119,7 +119,7 @@ class Script():
self.hass.async_add_job(self._change_listener)
return
elif CONF_WAIT_TEMPLATE in action:
if CONF_WAIT_TEMPLATE in action:
# Call ourselves in the future to continue work
wait_template = action[CONF_WAIT_TEMPLATE]
wait_template.hass = self.hass
@@ -147,7 +147,7 @@ class Script():
return
elif CONF_CONDITION in action:
if CONF_CONDITION in action:
if not self._async_check_condition(action, variables):
break