improve comments (poller.py)
This commit is contained in:
parent
539d97a733
commit
390c955a8a
@ -227,9 +227,10 @@ class Poller(PollerBase):
|
|||||||
(where n is the number of regular parameters).
|
(where n is the number of regular parameters).
|
||||||
"""
|
"""
|
||||||
if not self:
|
if not self:
|
||||||
# nothing to do (else we might call time.sleep(float('inf')) below
|
# nothing to do (else time.sleep(float('inf')) might be called below
|
||||||
started_callback()
|
started_callback()
|
||||||
return
|
return
|
||||||
|
# if writeInitParams is not yet done, we do it here
|
||||||
for module in self.modules:
|
for module in self.modules:
|
||||||
module.writeInitParams()
|
module.writeInitParams()
|
||||||
# do all polls once and, at the same time, insert due info
|
# do all polls once and, at the same time, insert due info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user