From ece59c31e9c73fec211950128b625e2921faf057 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 29 Jan 2015 09:34:43 -0500 Subject: [PATCH] always save parent --- awx/main/models/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/projects.py b/awx/main/models/projects.py index cdcdf5395b..b00ec7c344 100644 --- a/awx/main/models/projects.py +++ b/awx/main/models/projects.py @@ -369,4 +369,4 @@ class ProjectUpdate(UnifiedJob, ProjectOptions): parent_instance.scm_delete_on_next_update = False if 'scm_delete_on_next_update' not in update_fields: update_fields.append('scm_delete_on_next_update') - parent_instance.save(update_fields=update_fields) + parent_instance.save(update_fields=update_fields)