Fix pylint 1.7.2 no-else-return issues (#8361)

* Fix pylint 1.7.2 no-else-return issues

* Update tomato.py
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2017-07-05 23:30:01 -07:00
1 parent 5779d64e98
commit 46e030662d
111 files changed
+305 -455

No files matched your search

@@ -86,8 +86,7 @@ def get_from_conf(config, config_key, length):
_LOGGER.error("Error in config parameter %s: Must be exactly %d "
"bytes. Device will not be added", config_key, length/2)
return None
else:
return string
return string
class EddystoneTemp(Entity):