From 0a25cc2d19496d1b391af63b37df4bed6b4ba212 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 6 Jul 2017 10:48:28 -0400 Subject: [PATCH] back out parent jt status update short circuit --- awx/main/models/unified_jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/unified_jobs.py b/awx/main/models/unified_jobs.py index b7b5ca8073..0142dd957a 100644 --- a/awx/main/models/unified_jobs.py +++ b/awx/main/models/unified_jobs.py @@ -712,7 +712,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique result = super(UnifiedJob, self).save(*args, **kwargs) # If status changed, update the parent instance. - if self.status != status_before and self.status != 'pending': + if self.status != status_before: self._update_parent_instance() # Done.