fix: status list
This commit is contained in:
1 parent
decc3c3f5d
commit
45e2a84504
1 file changed
+2
@@ -67,6 +67,8 @@ class AndStatusWithList(DeviceStatus):
|
||||
|
||||
# TODO Check if this actually works....
|
||||
def set_exception(self, exc):
|
||||
super().set_exception(exc)
|
||||
# Propagate the exception to all sub-statuses that are not done yet.
|
||||
with self._lock:
|
||||
for st in self.all_statuses:
|
||||
with st._lock:
|
||||
|
||||
Reference in new issue
Block a user