From add49f3fcbdb4b64347e61179da45d76a683378f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Antal?= Date: Thu, 1 Sep 2016 18:59:46 +0200 Subject: [PATCH] Fixed indentation In some places, indentation was wrong. In this patchset, they are fixed. Change-Id: Ic66105d53b76cf53fbb4bc7bc19329b83b89687e --- watcher/objects/action.py | 2 +- watcher/objects/action_plan.py | 2 +- watcher/objects/audit.py | 2 +- watcher/objects/audit_template.py | 2 +- watcher/objects/efficacy_indicator.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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.