PyLint 1.5 fixes

This commit is contained in:
Paulus Schoutsen 2015-11-29 13:49:05 -08:00
parent 01203c7c4c
commit a301d869d7
32 changed files with 96 additions and 94 deletions

View file

@ -82,7 +82,7 @@ def _in_range(value, range_start, range_end):
try:
value = float(value)
except ValueError:
_LOGGER.warn("Missing value in numeric check")
_LOGGER.warning("Missing value in numeric check")
return False
if range_start is not None and range_end is not None: