From 04824c8477d052ebb7b5d772c40c23e52dc0c64e Mon Sep 17 00:00:00 2001 From: Chris Church Date: Wed, 23 Oct 2013 22:22:59 -0400 Subject: [PATCH] AC-569 Fix signal handler for updating computed fields on inventory models. --- awx/main/signals.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/awx/main/signals.py b/awx/main/signals.py index c2ac5ec58c..9bcf1bb9f3 100644 --- a/awx/main/signals.py +++ b/awx/main/signals.py @@ -41,8 +41,6 @@ def update_inventory_computed_fields(sender, **kwargs): sender_name = unicode(sender._meta.verbose_name) if kwargs['signal'] == post_save: sender_action = 'saved' - if instance.active: # No need to update for active instances. - return elif kwargs['signal'] == post_delete: sender_action = 'deleted' elif kwargs['signal'] == m2m_changed and kwargs['action'] in ('post_add', 'post_remove', 'post_clear'):