StandaloneIO: Remove unused variable from refresh_signal_handler.

This commit is contained in:
Lukáš Mandák 2015-06-22 13:06:32 +02:00
parent 3a33c8131b
commit a63d7fe4d8

View File

@ -130,14 +130,13 @@ class StandaloneIO(IOHandler):
method. method.
The reasoning is that modules with larger intervals also usually take The reasoning is that modules with larger intervals also usually take
longer to refresh their output and that their output is not required in longer to refresh their output and that their output is not required in
`real time`. 'real time'.
This also prevents possible lag when updating all modules in a row. This also prevents possible lag when updating all modules in a row.
""" """
if signo != signal.SIGUSR1: if signo != signal.SIGUSR1:
return return
threads = []
for module in StandaloneIO.modules: for module in StandaloneIO.modules:
if hasattr(module, "interval"): if hasattr(module, "interval"):
if module.interval > StandaloneIO.treshold_interval: if module.interval > StandaloneIO.treshold_interval: