fix: status list
This commit is contained in:
@@ -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