diff --git a/watcher/objects/action.py b/watcher/objects/action.py index e1d6b4384..76075a384 100644 --- a/watcher/objects/action.py +++ b/watcher/objects/action.py @@ -185,7 +185,7 @@ class Action(base.WatcherObject): for field in self.fields: if (hasattr(self, base.get_attrname(field)) and self[field] != current[field]): - self[field] = current[field] + self[field] = current[field] def soft_delete(self, context=None): """soft Delete the Audit from the DB. diff --git a/watcher/objects/action_plan.py b/watcher/objects/action_plan.py index f6f63d984..1286f5d1f 100644 --- a/watcher/objects/action_plan.py +++ b/watcher/objects/action_plan.py @@ -251,7 +251,7 @@ class ActionPlan(base.WatcherObject): for field in self.fields: if (hasattr(self, base.get_attrname(field)) and self[field] != current[field]): - self[field] = current[field] + self[field] = current[field] def soft_delete(self, context=None): """Soft Delete the Action plan from the DB. diff --git a/watcher/objects/audit.py b/watcher/objects/audit.py index f8edfca6f..1c31b84f9 100644 --- a/watcher/objects/audit.py +++ b/watcher/objects/audit.py @@ -252,7 +252,7 @@ class Audit(base.WatcherObject): for field in self.fields: if (hasattr(self, base.get_attrname(field)) and self[field] != current[field]): - self[field] = current[field] + self[field] = current[field] def soft_delete(self, context=None): """soft Delete the Audit from the DB. diff --git a/watcher/objects/audit_template.py b/watcher/objects/audit_template.py index 25d3773cf..2a3a4f255 100644 --- a/watcher/objects/audit_template.py +++ b/watcher/objects/audit_template.py @@ -258,7 +258,7 @@ class AuditTemplate(base.WatcherObject): for field in self.fields: if (hasattr(self, base.get_attrname(field)) and self[field] != current[field]): - self[field] = current[field] + self[field] = current[field] def soft_delete(self, context=None): """soft Delete the :class:`AuditTemplate` from the DB. diff --git a/watcher/objects/efficacy_indicator.py b/watcher/objects/efficacy_indicator.py index 2275f0017..ad36a596e 100644 --- a/watcher/objects/efficacy_indicator.py +++ b/watcher/objects/efficacy_indicator.py @@ -182,7 +182,7 @@ class EfficacyIndicator(base.WatcherObject): for field in self.fields: if (hasattr(self, base.get_attrname(field)) and self[field] != current[field]): - self[field] = current[field] + self[field] = current[field] def soft_delete(self, context=None): """Soft Delete the efficacy indicator from the DB.