PyLint 1.5 fixes
This commit is contained in:
parent
01203c7c4c
commit
a301d869d7
32 changed files with 96 additions and 94 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue