w
This commit is contained in:
1 parent
3c32d1106e
commit
4f889e2b97
1 file changed
+4
-3
@@ -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