Show More
@@ -326,9 +326,17 b' class TaskScheduler(SessionFactory):' | |||||
326 | after = Dependency(after) |
|
326 | after = Dependency(after) | |
327 | if after.all: |
|
327 | if after.all: | |
328 | if after.success: |
|
328 | if after.success: | |
329 | after = after.difference(self.all_completed) |
|
329 | after = Dependency(after.difference(self.all_completed), | |
|
330 | success=after.success, | |||
|
331 | failure=after.failure, | |||
|
332 | all=after.all, | |||
|
333 | ) | |||
330 | if after.failure: |
|
334 | if after.failure: | |
331 | after = after.difference(self.all_failed) |
|
335 | after = Dependency(after.difference(self.all_failed), | |
|
336 | success=after.success, | |||
|
337 | failure=after.failure, | |||
|
338 | all=after.all, | |||
|
339 | ) | |||
332 | if after.check(self.all_completed, self.all_failed): |
|
340 | if after.check(self.all_completed, self.all_failed): | |
333 | # recast as empty set, if `after` already met, |
|
341 | # recast as empty set, if `after` already met, | |
334 | # to prevent unnecessary set comparisons |
|
342 | # to prevent unnecessary set comparisons |
General Comments 0
You need to be logged in to leave comments.
Login now