w
This commit is contained in:
@@ -66,9 +66,10 @@ class AndStatus(StatusBase):
|
||||
|
||||
for st in self.all_statuses:
|
||||
with st._lock:
|
||||
if st.done and not st.success:
|
||||
self.set_exception(st.exception())
|
||||
return
|
||||
if not self.done:
|
||||
if st.done and not st.success:
|
||||
self.set_exception(st.exception())
|
||||
return
|
||||
|
||||
if all(st.done for st in self.all_statuses) and all(
|
||||
st.success for st in self.all_statuses
|
||||
|
||||
Reference in New Issue
Block a user