Fix style issue

This commit is contained in:
Paulus Schoutsen 2015-10-11 11:04:16 -07:00
parent dcfc91e71c
commit b05f2e3221

View File

@ -255,6 +255,7 @@ class Throttle(object):
Wrapper that allows wrapped to be called only once per min_time.
If we cannot acquire the lock, it is running so return None.
"""
# pylint: disable=protected-access
if hasattr(method, '__self__'):
host = method.__self__
elif is_func: