mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix style issue
This commit is contained in:
parent
dcfc91e71c
commit
b05f2e3221
@ -255,6 +255,7 @@ class Throttle(object):
|
|||||||
Wrapper that allows wrapped to be called only once per min_time.
|
Wrapper that allows wrapped to be called only once per min_time.
|
||||||
If we cannot acquire the lock, it is running so return None.
|
If we cannot acquire the lock, it is running so return None.
|
||||||
"""
|
"""
|
||||||
|
# pylint: disable=protected-access
|
||||||
if hasattr(method, '__self__'):
|
if hasattr(method, '__self__'):
|
||||||
host = method.__self__
|
host = method.__self__
|
||||||
elif is_func:
|
elif is_func:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user