diff --git a/beat/web/experiments/models.py b/beat/web/experiments/models.py index 60191be87563e39eb0d1306661b15dffd109a7ed..6ba42de388faaec3fdc6695dd420f23312814551 100644 --- a/beat/web/experiments/models.py +++ b/beat/web/experiments/models.py @@ -1058,6 +1058,7 @@ class Block(models.Model): ''' for b in self.dependents.all(): + if not hasattr(b, 'job'): continue if any([k.status in (Block.FAILED, Block.CANCELLED) \ for k in b.dependencies.all()]): b.job._cancel()