Skip to content

Commit 412f0a6

Browse files
committed
target: improve comment for update_resources
Signed-off-by: Jan Luebbe <[email protected]>
1 parent fa027c7 commit 412f0a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

labgrid/target.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ def interact(self, msg):
4343

4444
def update_resources(self):
4545
"""
46-
Iterate over all relevant resources and deactivate any active but
47-
unavailable resources.
46+
Iterate over this target's resources, deactivate any active but
47+
unavailable resources and also deactivate any drivers using them.
48+
This ensures a consistent binding states for this target.
4849
"""
4950
if (monotonic() - self.last_update) < 0.1:
5051
return

0 commit comments

Comments
 (0)